package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Api_group contains the name, the supported versions, and the preferred version of a group.

type t
val to_yojson : t -> Yojson.Safe.t
val api_version : t -> string option

Api_version defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

val kind : t -> string option

Kind is a string value representing the Rest resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In Camel_case. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

val name : t -> string

name is the name of the group.

preferred_version is the version preferred by the Api server, which probably is the storage version.

a map of client Cidr to server address that is serving this group. This is to help clients reach servers in the most network_efficient way possible. Clients can use the appropriate server address as per the Cidr that they match. In case of multiple matches, clients should use the longest matching Cidr. The server returns only those Cidrs that it thinks that the client can match. For example: the master will return an internal Ip Cidr only, if the client reaches the server using an internal Ip. Server looks at X_forwarded_for header or X_real_ip header or request.remote_addr (in that order) to get the client Ip.

versions are the versions supported in this group.

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.