Documentation ¶
Overview ¶
+genconversion=true
Package v1alpha1 is a generated protocol buffer package. It is generated from these files: k8s.io/kubernetes/federation/apis/federation/v1alpha1/generated.proto It has these top-level messages: Cluster ClusterCondition ClusterList ClusterMeta ClusterSpec ClusterStatus ServerAddressByClientCIDR
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func Convert_federation_ClusterCondition_To_v1alpha1_ClusterCondition(in *federation.ClusterCondition, out *ClusterCondition, s conversion.Scope) error
- func Convert_federation_ClusterList_To_v1alpha1_ClusterList(in *federation.ClusterList, out *ClusterList, s conversion.Scope) error
- func Convert_federation_ClusterMeta_To_v1alpha1_ClusterMeta(in *federation.ClusterMeta, out *ClusterMeta, s conversion.Scope) error
- func Convert_federation_ClusterSpec_To_v1alpha1_ClusterSpec(in *federation.ClusterSpec, out *ClusterSpec, s conversion.Scope) error
- func Convert_federation_ClusterStatus_To_v1alpha1_ClusterStatus(in *federation.ClusterStatus, out *ClusterStatus, s conversion.Scope) error
- func Convert_federation_Cluster_To_v1alpha1_Cluster(in *federation.Cluster, out *Cluster, s conversion.Scope) error
- func Convert_federation_ServerAddressByClientCIDR_To_v1alpha1_ServerAddressByClientCIDR(in *federation.ServerAddressByClientCIDR, out *ServerAddressByClientCIDR, ...) error
- func Convert_v1alpha1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error
- func Convert_v1alpha1_ClusterList_To_federation_ClusterList(in *ClusterList, out *federation.ClusterList, s conversion.Scope) error
- func Convert_v1alpha1_ClusterMeta_To_federation_ClusterMeta(in *ClusterMeta, out *federation.ClusterMeta, s conversion.Scope) error
- func Convert_v1alpha1_ClusterSpec_To_federation_ClusterSpec(in *ClusterSpec, out *federation.ClusterSpec, s conversion.Scope) error
- func Convert_v1alpha1_ClusterStatus_To_federation_ClusterStatus(in *ClusterStatus, out *federation.ClusterStatus, s conversion.Scope) error
- func Convert_v1alpha1_Cluster_To_federation_Cluster(in *Cluster, out *federation.Cluster, s conversion.Scope) error
- func Convert_v1alpha1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR(in *ServerAddressByClientCIDR, out *federation.ServerAddressByClientCIDR, ...) error
- func DeepCopy_v1alpha1_Cluster(in Cluster, out *Cluster, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ClusterCondition(in ClusterCondition, out *ClusterCondition, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ClusterList(in ClusterList, out *ClusterList, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ClusterMeta(in ClusterMeta, out *ClusterMeta, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ClusterSpec(in ClusterSpec, out *ClusterSpec, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ClusterStatus(in ClusterStatus, out *ClusterStatus, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ServerAddressByClientCIDR(in ServerAddressByClientCIDR, out *ServerAddressByClientCIDR, ...) error
- type Cluster
- func (x *Cluster) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder)
- func (obj *Cluster) GetObjectKind() unversioned.ObjectKind
- func (m *Cluster) Marshal() (data []byte, err error)
- func (m *Cluster) MarshalTo(data []byte) (int, error)
- func (*Cluster) ProtoMessage()
- func (m *Cluster) Reset()
- func (m *Cluster) Size() (n int)
- func (m *Cluster) String() string
- func (m *Cluster) Unmarshal(data []byte) error
- type ClusterCondition
- func (x *ClusterCondition) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder)
- func (m *ClusterCondition) Marshal() (data []byte, err error)
- func (m *ClusterCondition) MarshalTo(data []byte) (int, error)
- func (*ClusterCondition) ProtoMessage()
- func (m *ClusterCondition) Reset()
- func (m *ClusterCondition) Size() (n int)
- func (m *ClusterCondition) String() string
- func (m *ClusterCondition) Unmarshal(data []byte) error
- type ClusterConditionType
- type ClusterList
- func (x *ClusterList) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder)
- func (obj *ClusterList) GetObjectKind() unversioned.ObjectKind
- func (m *ClusterList) Marshal() (data []byte, err error)
- func (m *ClusterList) MarshalTo(data []byte) (int, error)
- func (*ClusterList) ProtoMessage()
- func (m *ClusterList) Reset()
- func (m *ClusterList) Size() (n int)
- func (m *ClusterList) String() string
- func (m *ClusterList) Unmarshal(data []byte) error
- type ClusterMeta
- func (x *ClusterMeta) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ClusterMeta) CodecEncodeSelf(e *codec1978.Encoder)
- func (m *ClusterMeta) Marshal() (data []byte, err error)
- func (m *ClusterMeta) MarshalTo(data []byte) (int, error)
- func (*ClusterMeta) ProtoMessage()
- func (m *ClusterMeta) Reset()
- func (m *ClusterMeta) Size() (n int)
- func (m *ClusterMeta) String() string
- func (m *ClusterMeta) Unmarshal(data []byte) error
- type ClusterSpec
- func (x *ClusterSpec) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder)
- func (m *ClusterSpec) Marshal() (data []byte, err error)
- func (m *ClusterSpec) MarshalTo(data []byte) (int, error)
- func (*ClusterSpec) ProtoMessage()
- func (m *ClusterSpec) Reset()
- func (m *ClusterSpec) Size() (n int)
- func (m *ClusterSpec) String() string
- func (m *ClusterSpec) Unmarshal(data []byte) error
- type ClusterStatus
- func (x *ClusterStatus) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder)
- func (m *ClusterStatus) Marshal() (data []byte, err error)
- func (m *ClusterStatus) MarshalTo(data []byte) (int, error)
- func (*ClusterStatus) ProtoMessage()
- func (m *ClusterStatus) Reset()
- func (m *ClusterStatus) Size() (n int)
- func (m *ClusterStatus) String() string
- func (m *ClusterStatus) Unmarshal(data []byte) error
- type ServerAddressByClientCIDR
- func (x *ServerAddressByClientCIDR) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ServerAddressByClientCIDR) CodecEncodeSelf(e *codec1978.Encoder)
- func (m *ServerAddressByClientCIDR) Marshal() (data []byte, err error)
- func (m *ServerAddressByClientCIDR) MarshalTo(data []byte) (int, error)
- func (*ServerAddressByClientCIDR) ProtoMessage()
- func (m *ServerAddressByClientCIDR) Reset()
- func (m *ServerAddressByClientCIDR) Size() (n int)
- func (m *ServerAddressByClientCIDR) String() string
- func (m *ServerAddressByClientCIDR) Unmarshal(data []byte) error
Constants ¶
const GroupName = "federation"
GroupName is the group name use in this package
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AddToScheme ¶
Adds the list of known types to api.Scheme.
func Convert_federation_ClusterCondition_To_v1alpha1_ClusterCondition ¶
func Convert_federation_ClusterCondition_To_v1alpha1_ClusterCondition(in *federation.ClusterCondition, out *ClusterCondition, s conversion.Scope) error
func Convert_federation_ClusterList_To_v1alpha1_ClusterList ¶
func Convert_federation_ClusterList_To_v1alpha1_ClusterList(in *federation.ClusterList, out *ClusterList, s conversion.Scope) error
func Convert_federation_ClusterMeta_To_v1alpha1_ClusterMeta ¶
func Convert_federation_ClusterMeta_To_v1alpha1_ClusterMeta(in *federation.ClusterMeta, out *ClusterMeta, s conversion.Scope) error
func Convert_federation_ClusterSpec_To_v1alpha1_ClusterSpec ¶
func Convert_federation_ClusterSpec_To_v1alpha1_ClusterSpec(in *federation.ClusterSpec, out *ClusterSpec, s conversion.Scope) error
func Convert_federation_ClusterStatus_To_v1alpha1_ClusterStatus ¶
func Convert_federation_ClusterStatus_To_v1alpha1_ClusterStatus(in *federation.ClusterStatus, out *ClusterStatus, s conversion.Scope) error
func Convert_federation_Cluster_To_v1alpha1_Cluster ¶
func Convert_federation_Cluster_To_v1alpha1_Cluster(in *federation.Cluster, out *Cluster, s conversion.Scope) error
func Convert_federation_ServerAddressByClientCIDR_To_v1alpha1_ServerAddressByClientCIDR ¶
func Convert_federation_ServerAddressByClientCIDR_To_v1alpha1_ServerAddressByClientCIDR(in *federation.ServerAddressByClientCIDR, out *ServerAddressByClientCIDR, s conversion.Scope) error
func Convert_v1alpha1_ClusterCondition_To_federation_ClusterCondition ¶
func Convert_v1alpha1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error
func Convert_v1alpha1_ClusterList_To_federation_ClusterList ¶
func Convert_v1alpha1_ClusterList_To_federation_ClusterList(in *ClusterList, out *federation.ClusterList, s conversion.Scope) error
func Convert_v1alpha1_ClusterMeta_To_federation_ClusterMeta ¶
func Convert_v1alpha1_ClusterMeta_To_federation_ClusterMeta(in *ClusterMeta, out *federation.ClusterMeta, s conversion.Scope) error
func Convert_v1alpha1_ClusterSpec_To_federation_ClusterSpec ¶
func Convert_v1alpha1_ClusterSpec_To_federation_ClusterSpec(in *ClusterSpec, out *federation.ClusterSpec, s conversion.Scope) error
func Convert_v1alpha1_ClusterStatus_To_federation_ClusterStatus ¶
func Convert_v1alpha1_ClusterStatus_To_federation_ClusterStatus(in *ClusterStatus, out *federation.ClusterStatus, s conversion.Scope) error
func Convert_v1alpha1_Cluster_To_federation_Cluster ¶
func Convert_v1alpha1_Cluster_To_federation_Cluster(in *Cluster, out *federation.Cluster, s conversion.Scope) error
func Convert_v1alpha1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR ¶
func Convert_v1alpha1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR(in *ServerAddressByClientCIDR, out *federation.ServerAddressByClientCIDR, s conversion.Scope) error
func DeepCopy_v1alpha1_Cluster ¶
func DeepCopy_v1alpha1_Cluster(in Cluster, out *Cluster, c *conversion.Cloner) error
func DeepCopy_v1alpha1_ClusterCondition ¶
func DeepCopy_v1alpha1_ClusterCondition(in ClusterCondition, out *ClusterCondition, c *conversion.Cloner) error
func DeepCopy_v1alpha1_ClusterList ¶
func DeepCopy_v1alpha1_ClusterList(in ClusterList, out *ClusterList, c *conversion.Cloner) error
func DeepCopy_v1alpha1_ClusterMeta ¶
func DeepCopy_v1alpha1_ClusterMeta(in ClusterMeta, out *ClusterMeta, c *conversion.Cloner) error
func DeepCopy_v1alpha1_ClusterSpec ¶
func DeepCopy_v1alpha1_ClusterSpec(in ClusterSpec, out *ClusterSpec, c *conversion.Cloner) error
func DeepCopy_v1alpha1_ClusterStatus ¶
func DeepCopy_v1alpha1_ClusterStatus(in ClusterStatus, out *ClusterStatus, c *conversion.Cloner) error
func DeepCopy_v1alpha1_ServerAddressByClientCIDR ¶
func DeepCopy_v1alpha1_ServerAddressByClientCIDR(in ServerAddressByClientCIDR, out *ServerAddressByClientCIDR, c *conversion.Cloner) error
Types ¶
type Cluster ¶
type Cluster struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the behavior of the Cluster. Spec ClusterSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status describes the current status of a Cluster Status ClusterStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.
func (*Cluster) CodecDecodeSelf ¶
func (*Cluster) CodecEncodeSelf ¶
func (*Cluster) GetObjectKind ¶
func (obj *Cluster) GetObjectKind() unversioned.ObjectKind
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
type ClusterCondition ¶
type ClusterCondition struct { // Type of cluster condition, Complete or Failed. Type ClusterConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ClusterConditionType"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"` // Last time the condition was checked. LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transit from one status to another. LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` }
ClusterCondition describes current state of a cluster.
func (*ClusterCondition) CodecDecodeSelf ¶
func (x *ClusterCondition) CodecDecodeSelf(d *codec1978.Decoder)
func (*ClusterCondition) CodecEncodeSelf ¶
func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder)
func (*ClusterCondition) Marshal ¶
func (m *ClusterCondition) Marshal() (data []byte, err error)
func (*ClusterCondition) ProtoMessage ¶
func (*ClusterCondition) ProtoMessage()
func (*ClusterCondition) Reset ¶
func (m *ClusterCondition) Reset()
func (*ClusterCondition) Size ¶
func (m *ClusterCondition) Size() (n int)
func (*ClusterCondition) String ¶
func (m *ClusterCondition) String() string
func (*ClusterCondition) Unmarshal ¶
func (m *ClusterCondition) Unmarshal(data []byte) error
type ClusterConditionType ¶
type ClusterConditionType string
const ( // ClusterReady means the cluster is ready to accept workloads. ClusterReady ClusterConditionType = "Ready" // ClusterOffline means the cluster is temporarily down or not reachable ClusterOffline ClusterConditionType = "Offline" )
These are valid conditions of a cluster.
func (*ClusterConditionType) CodecDecodeSelf ¶
func (x *ClusterConditionType) CodecDecodeSelf(d *codec1978.Decoder)
func (ClusterConditionType) CodecEncodeSelf ¶
func (x ClusterConditionType) CodecEncodeSelf(e *codec1978.Encoder)
type ClusterList ¶
type ClusterList struct { unversioned.TypeMeta `json:",inline"` // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of Cluster objects. Items []Cluster `json:"items" protobuf:"bytes,2,rep,name=items"` }
A list of all the kubernetes clusters registered to the federation
func (*ClusterList) CodecDecodeSelf ¶
func (x *ClusterList) CodecDecodeSelf(d *codec1978.Decoder)
func (*ClusterList) CodecEncodeSelf ¶
func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder)
func (*ClusterList) GetObjectKind ¶
func (obj *ClusterList) GetObjectKind() unversioned.ObjectKind
func (*ClusterList) Marshal ¶
func (m *ClusterList) Marshal() (data []byte, err error)
func (*ClusterList) ProtoMessage ¶
func (*ClusterList) ProtoMessage()
func (*ClusterList) Reset ¶
func (m *ClusterList) Reset()
func (*ClusterList) Size ¶
func (m *ClusterList) Size() (n int)
func (*ClusterList) String ¶
func (m *ClusterList) String() string
func (*ClusterList) Unmarshal ¶
func (m *ClusterList) Unmarshal(data []byte) error
type ClusterMeta ¶
type ClusterMeta struct { // Release version of the cluster. Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"` }
Cluster metadata
func (*ClusterMeta) CodecDecodeSelf ¶
func (x *ClusterMeta) CodecDecodeSelf(d *codec1978.Decoder)
func (*ClusterMeta) CodecEncodeSelf ¶
func (x *ClusterMeta) CodecEncodeSelf(e *codec1978.Encoder)
func (*ClusterMeta) Marshal ¶
func (m *ClusterMeta) Marshal() (data []byte, err error)
func (*ClusterMeta) ProtoMessage ¶
func (*ClusterMeta) ProtoMessage()
func (*ClusterMeta) Reset ¶
func (m *ClusterMeta) Reset()
func (*ClusterMeta) Size ¶
func (m *ClusterMeta) Size() (n int)
func (*ClusterMeta) String ¶
func (m *ClusterMeta) String() string
func (*ClusterMeta) Unmarshal ¶
func (m *ClusterMeta) Unmarshal(data []byte) error
type ClusterSpec ¶
type ClusterSpec struct { // A map of client CIDR to server address. // 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. ServerAddressByClientCIDRs []ServerAddressByClientCIDR `` /* 137-byte string literal not displayed */ // Name of the secret containing kubeconfig to access this cluster. // The secret is read from the kubernetes cluster that is hosting federation control plane. // Admin needs to ensure that the required secret exists. Secret should be in the same namespace where federation control plane is hosted and it should have kubeconfig in its data with key "kubeconfig". // This will later be changed to a reference to secret in federation control plane when the federation control plane supports secrets. // This can be left empty if the cluster allows insecure access. SecretRef *v1.LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,2,opt,name=secretRef"` }
ClusterSpec describes the attributes of a kubernetes cluster.
func (*ClusterSpec) CodecDecodeSelf ¶
func (x *ClusterSpec) CodecDecodeSelf(d *codec1978.Decoder)
func (*ClusterSpec) CodecEncodeSelf ¶
func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder)
func (*ClusterSpec) Marshal ¶
func (m *ClusterSpec) Marshal() (data []byte, err error)
func (*ClusterSpec) ProtoMessage ¶
func (*ClusterSpec) ProtoMessage()
func (*ClusterSpec) Reset ¶
func (m *ClusterSpec) Reset()
func (*ClusterSpec) Size ¶
func (m *ClusterSpec) Size() (n int)
func (*ClusterSpec) String ¶
func (m *ClusterSpec) String() string
func (*ClusterSpec) Unmarshal ¶
func (m *ClusterSpec) Unmarshal(data []byte) error
type ClusterStatus ¶
type ClusterStatus struct { // Conditions is an array of current cluster conditions. Conditions []ClusterCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"` // Capacity represents the total resources of the cluster Capacity v1.ResourceList `` /* 163-byte string literal not displayed */ // Allocatable represents the total resources of a cluster that are available for scheduling. Allocatable v1.ResourceList `` /* 169-byte string literal not displayed */ ClusterMeta `json:",inline" protobuf:"bytes,4,opt,name=clusterMeta"` // Zones is the list of avaliability zones in which the nodes of the cluster exist, e.g. 'us-east1-a'. // These will always be in the same region. Zones []string `json:"zones,omitempty" protobuf:"bytes,5,rep,name=zones"` // Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'. Region string `json:"region,omitempty" protobuf:"bytes,6,opt,name=region"` }
ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.
func (*ClusterStatus) CodecDecodeSelf ¶
func (x *ClusterStatus) CodecDecodeSelf(d *codec1978.Decoder)
func (*ClusterStatus) CodecEncodeSelf ¶
func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder)
func (*ClusterStatus) Marshal ¶
func (m *ClusterStatus) Marshal() (data []byte, err error)
func (*ClusterStatus) ProtoMessage ¶
func (*ClusterStatus) ProtoMessage()
func (*ClusterStatus) Reset ¶
func (m *ClusterStatus) Reset()
func (*ClusterStatus) Size ¶
func (m *ClusterStatus) Size() (n int)
func (*ClusterStatus) String ¶
func (m *ClusterStatus) String() string
func (*ClusterStatus) Unmarshal ¶
func (m *ClusterStatus) Unmarshal(data []byte) error
type ServerAddressByClientCIDR ¶
type ServerAddressByClientCIDR struct { // The CIDR with which clients can match their IP to figure out the server address that they should use. ClientCIDR string `json:"clientCIDR" protobuf:"bytes,1,opt,name=clientCIDR"` // Address of this server, suitable for a client that matches the above CIDR. // This can be a hostname, hostname:port, IP or IP:port. ServerAddress string `json:"serverAddress" protobuf:"bytes,2,opt,name=serverAddress"` }
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
func (*ServerAddressByClientCIDR) CodecDecodeSelf ¶
func (x *ServerAddressByClientCIDR) CodecDecodeSelf(d *codec1978.Decoder)
func (*ServerAddressByClientCIDR) CodecEncodeSelf ¶
func (x *ServerAddressByClientCIDR) CodecEncodeSelf(e *codec1978.Encoder)
func (*ServerAddressByClientCIDR) Marshal ¶
func (m *ServerAddressByClientCIDR) Marshal() (data []byte, err error)
func (*ServerAddressByClientCIDR) MarshalTo ¶
func (m *ServerAddressByClientCIDR) MarshalTo(data []byte) (int, error)
func (*ServerAddressByClientCIDR) ProtoMessage ¶
func (*ServerAddressByClientCIDR) ProtoMessage()
func (*ServerAddressByClientCIDR) Reset ¶
func (m *ServerAddressByClientCIDR) Reset()
func (*ServerAddressByClientCIDR) Size ¶
func (m *ServerAddressByClientCIDR) Size() (n int)
func (*ServerAddressByClientCIDR) String ¶
func (m *ServerAddressByClientCIDR) String() string
func (*ServerAddressByClientCIDR) Unmarshal ¶
func (m *ServerAddressByClientCIDR) Unmarshal(data []byte) error