Documentation ¶
Overview ¶
Package models defines all models to be used in the CCE API. +groupName=v1
Index ¶
- Constants
- type Address
- type AddressPair
- type AllocationMap
- type BackendAddress
- type BandwidthOption
- type CNIChainingStatus
- func (in *CNIChainingStatus) DeepCopy() *CNIChainingStatus
- func (in *CNIChainingStatus) DeepCopyInto(out *CNIChainingStatus)
- func (m *CNIChainingStatus) MarshalBinary() ([]byte, error)
- func (m *CNIChainingStatus) UnmarshalBinary(b []byte) error
- func (m *CNIChainingStatus) Validate(formats strfmt.Registry) error
- type ClusterNodeStatus
- type ClusterNodesResponse
- type ClusterStatus
- type ConfigurationMap
- type ControllerStatus
- func (in *ControllerStatus) DeepCopy() *ControllerStatus
- func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus)
- func (m *ControllerStatus) MarshalBinary() ([]byte, error)
- func (m *ControllerStatus) UnmarshalBinary(b []byte) error
- func (m *ControllerStatus) Validate(formats strfmt.Registry) error
- type ControllerStatusConfiguration
- func (in *ControllerStatusConfiguration) DeepCopy() *ControllerStatusConfiguration
- func (in *ControllerStatusConfiguration) DeepCopyInto(out *ControllerStatusConfiguration)
- func (in *ControllerStatusConfiguration) DeepEqual(other *ControllerStatusConfiguration) bool
- func (m *ControllerStatusConfiguration) MarshalBinary() ([]byte, error)
- func (m *ControllerStatusConfiguration) UnmarshalBinary(b []byte) error
- func (m *ControllerStatusConfiguration) Validate(formats strfmt.Registry) error
- type ControllerStatusStatus
- func (in *ControllerStatusStatus) DeepCopy() *ControllerStatusStatus
- func (in *ControllerStatusStatus) DeepCopyInto(out *ControllerStatusStatus)
- func (m *ControllerStatusStatus) MarshalBinary() ([]byte, error)
- func (m *ControllerStatusStatus) UnmarshalBinary(b []byte) error
- func (m *ControllerStatusStatus) Validate(formats strfmt.Registry) error
- type ControllerStatuses
- type DatapathMode
- type ENI
- type EndpointIdentifiers
- type EndpointProbeFeatureGate
- type EndpointProbeResponse
- type EndpointState
- type EndpointStatusChange
- type EndpointStatusLog
- type Error
- type ExtFeatureData
- type IPAMAddressResponse
- type IPAMResponse
- type IPAMStatus
- type IpvlanConfiguration
- type K8sStatus
- type Masquerading
- type MasqueradingEnabledProtocols
- type Metric
- type MonitorStatus
- type NodeAddressing
- type NodeAddressingElement
- type NodeElement
- type PrivateIP
- type RDMAIPAMResponse
- type Status
- type StatusResponse
Constants ¶
const ( // BackendAddressStateActive captures enum value "active" BackendAddressStateActive string = "active" // BackendAddressStateTerminating captures enum value "terminating" BackendAddressStateTerminating string = "terminating" // BackendAddressStateQuarantined captures enum value "quarantined" BackendAddressStateQuarantined string = "quarantined" // BackendAddressStateMaintenance captures enum value "maintenance" BackendAddressStateMaintenance string = "maintenance" )
const ( // BandwidthOptionModeEdt captures enum value "edt" BandwidthOptionModeEdt string = "edt" // BandwidthOptionModeTc captures enum value "tc" BandwidthOptionModeTc string = "tc" // BandwidthOptionModeEmpty captures enum value "" BandwidthOptionModeEmpty string = "" )
const ( // CNIChainingStatusModeNone captures enum value "none" CNIChainingStatusModeNone string = "none" // CNIChainingStatusModeAwsCni captures enum value "aws-cni" CNIChainingStatusModeAwsCni string = "aws-cni" // CNIChainingStatusModeFlannel captures enum value "flannel" CNIChainingStatusModeFlannel string = "flannel" // CNIChainingStatusModeGenericVeth captures enum value "generic-veth" CNIChainingStatusModeGenericVeth string = "generic-veth" // CNIChainingStatusModePortmap captures enum value "portmap" CNIChainingStatusModePortmap string = "portmap" )
const ( // EndpointStatusChangeCodeOk captures enum value "ok" EndpointStatusChangeCodeOk string = "ok" // EndpointStatusChangeCodeFailed captures enum value "failed" EndpointStatusChangeCodeFailed string = "failed" )
const ( // IpvlanConfigurationOperationModeL3 captures enum value "L3" IpvlanConfigurationOperationModeL3 string = "L3" // IpvlanConfigurationOperationModeL3S captures enum value "L3S" IpvlanConfigurationOperationModeL3S string = "L3S" )
const ( // K8sStatusStateOk captures enum value "Ok" K8sStatusStateOk string = "Ok" // K8sStatusStateWarning captures enum value "Warning" K8sStatusStateWarning string = "Warning" // K8sStatusStateFailure captures enum value "Failure" K8sStatusStateFailure string = "Failure" // K8sStatusStateDisabled captures enum value "Disabled" K8sStatusStateDisabled string = "Disabled" )
const ( // MasqueradingModeBPF captures enum value "BPF" MasqueradingModeBPF string = "BPF" // MasqueradingModeIptables captures enum value "iptables" MasqueradingModeIptables string = "iptables" )
const ( // StatusStateOk captures enum value "Ok" StatusStateOk string = "Ok" // StatusStateWarning captures enum value "Warning" StatusStateWarning string = "Warning" // StatusStateFailure captures enum value "Failure" StatusStateFailure string = "Failure" // StatusStateDisabled captures enum value "Disabled" StatusStateDisabled string = "Disabled" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressPair ¶
type AddressPair struct { // IPv4 address IPV4 string `json:"ipv4,omitempty"` // UUID of IPv4 expiration timer IPV4ExpirationUUID string `json:"ipv4-expiration-uuid,omitempty"` // IPv6 address IPV6 string `json:"ipv6,omitempty"` // UUID of IPv6 expiration timer IPV6ExpirationUUID string `json:"ipv6-expiration-uuid,omitempty"` }
AddressPair Addressing information of an endpoint
swagger:model AddressPair
func (*AddressPair) MarshalBinary ¶
func (m *AddressPair) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressPair) UnmarshalBinary ¶
func (m *AddressPair) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackendAddress ¶
type BackendAddress struct { // Layer 3 address // Required: true IP *string `json:"ip"` // Optional name of the node on which this backend runs NodeName string `json:"nodeName,omitempty"` // Layer 4 port number Port uint16 `json:"port,omitempty"` // Indicator if this backend is preferred in the context of clustermesh service affinity. The value is set based // on related annotation of global service. Applicable for active state only. Preferred bool `json:"preferred,omitempty"` // State of the backend for load-balancing service traffic // Enum: [active terminating quarantined maintenance] State string `json:"state,omitempty"` }
BackendAddress Service backend address
swagger:model BackendAddress
func (*BackendAddress) MarshalBinary ¶
func (m *BackendAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackendAddress) UnmarshalBinary ¶
func (m *BackendAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BandwidthOption ¶
type BandwidthOption struct { // egress Egress int64 `json:"egress,omitempty"` // ingress Ingress int64 `json:"ingress,omitempty"` // mode // Enum: [edt tc ] Mode string `json:"mode,omitempty"` }
BandwidthOption BandwidthOption is the bandwidth option of network +k8s:deepcopy-gen=true
swagger:model BandwidthOption
func (*BandwidthOption) DeepCopy ¶
func (in *BandwidthOption) DeepCopy() *BandwidthOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BandwidthOption.
func (*BandwidthOption) DeepCopyInto ¶
func (in *BandwidthOption) DeepCopyInto(out *BandwidthOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BandwidthOption) MarshalBinary ¶
func (m *BandwidthOption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BandwidthOption) UnmarshalBinary ¶
func (m *BandwidthOption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CNIChainingStatus ¶
type CNIChainingStatus struct { // mode // Enum: [none aws-cni flannel generic-veth portmap] Mode string `json:"mode,omitempty"` }
CNIChainingStatus Status of CNI chaining
+k8s:deepcopy-gen=true
swagger:model CNIChainingStatus
func (*CNIChainingStatus) DeepCopy ¶
func (in *CNIChainingStatus) DeepCopy() *CNIChainingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIChainingStatus.
func (*CNIChainingStatus) DeepCopyInto ¶
func (in *CNIChainingStatus) DeepCopyInto(out *CNIChainingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CNIChainingStatus) MarshalBinary ¶
func (m *CNIChainingStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CNIChainingStatus) UnmarshalBinary ¶
func (m *CNIChainingStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterNodeStatus ¶
type ClusterNodeStatus struct { // ID that should be used by the client to receive a diff from the previous request ClientID int64 `json:"client-id,omitempty"` // List of known nodes NodesAdded []*NodeElement `json:"nodes-added"` // List of known nodes NodesRemoved []*NodeElement `json:"nodes-removed"` // Name of local node (if available) Self string `json:"self,omitempty"` }
ClusterNodeStatus Status of cluster
swagger:model ClusterNodeStatus
func (*ClusterNodeStatus) MarshalBinary ¶
func (m *ClusterNodeStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterNodeStatus) UnmarshalBinary ¶
func (m *ClusterNodeStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterNodesResponse ¶
type ClusterNodesResponse struct { // List of known nodes Nodes []*NodeElement `json:"nodes"` // Name of local node (if available) Self string `json:"self,omitempty"` }
ClusterNodesResponse cluster nodes response
swagger:model ClusterNodesResponse
func (*ClusterNodesResponse) MarshalBinary ¶
func (m *ClusterNodesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterNodesResponse) UnmarshalBinary ¶
func (m *ClusterNodesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterStatus ¶
type ClusterStatus struct { // Status of local cce-health daemon CCEHealth *Status `json:"cceHealth,omitempty"` // List of known nodes Nodes []*NodeElement `json:"nodes"` // Name of local node (if available) Self string `json:"self,omitempty"` }
ClusterStatus Status of cluster
+k8s:deepcopy-gen=true
swagger:model ClusterStatus
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterStatus) MarshalBinary ¶
func (m *ClusterStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterStatus) UnmarshalBinary ¶
func (m *ClusterStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigurationMap ¶
ConfigurationMap Map of configuration key/value pairs.
swagger:model ConfigurationMap
type ControllerStatus ¶
type ControllerStatus struct { // configuration Configuration *ControllerStatusConfiguration `json:"configuration,omitempty"` // Name of controller Name string `json:"name,omitempty"` // status Status *ControllerStatusStatus `json:"status,omitempty"` // UUID of controller // Format: uuid UUID strfmt.UUID `json:"uuid,omitempty"` }
ControllerStatus Status of a controller
+k8s:deepcopy-gen=true
swagger:model ControllerStatus
func (*ControllerStatus) DeepCopy ¶
func (in *ControllerStatus) DeepCopy() *ControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatus.
func (*ControllerStatus) DeepCopyInto ¶
func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerStatus) MarshalBinary ¶
func (m *ControllerStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ControllerStatus) UnmarshalBinary ¶
func (m *ControllerStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ControllerStatusConfiguration ¶
type ControllerStatusConfiguration struct { // Retry on error ErrorRetry bool `json:"error-retry,omitempty"` // Base error retry back-off time // Format: duration ErrorRetryBase strfmt.Duration `json:"error-retry-base,omitempty"` // Regular synchronization interval // Format: duration Interval strfmt.Duration `json:"interval,omitempty"` }
ControllerStatusConfiguration Configuration of controller
+deepequal-gen=true +k8s:deepcopy-gen=true
swagger:model ControllerStatusConfiguration
func (*ControllerStatusConfiguration) DeepCopy ¶
func (in *ControllerStatusConfiguration) DeepCopy() *ControllerStatusConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatusConfiguration.
func (*ControllerStatusConfiguration) DeepCopyInto ¶
func (in *ControllerStatusConfiguration) DeepCopyInto(out *ControllerStatusConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerStatusConfiguration) DeepEqual ¶
func (in *ControllerStatusConfiguration) DeepEqual(other *ControllerStatusConfiguration) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*ControllerStatusConfiguration) MarshalBinary ¶
func (m *ControllerStatusConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ControllerStatusConfiguration) UnmarshalBinary ¶
func (m *ControllerStatusConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ControllerStatusStatus ¶
type ControllerStatusStatus struct { // Number of consecutive errors since last success ConsecutiveFailureCount int64 `json:"consecutive-failure-count,omitempty"` // Total number of failed runs FailureCount int64 `json:"failure-count,omitempty"` // Error message of last failed run LastFailureMsg string `json:"last-failure-msg,omitempty"` // Timestamp of last error // Format: date-time LastFailureTimestamp strfmt.DateTime `json:"last-failure-timestamp,omitempty"` // Timestamp of last success // Format: date-time LastSuccessTimestamp strfmt.DateTime `json:"last-success-timestamp,omitempty"` // Total number of successful runs SuccessCount int64 `json:"success-count,omitempty"` }
ControllerStatusStatus Current status of controller
+k8s:deepcopy-gen=true
swagger:model ControllerStatusStatus
func (*ControllerStatusStatus) DeepCopy ¶
func (in *ControllerStatusStatus) DeepCopy() *ControllerStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatusStatus.
func (*ControllerStatusStatus) DeepCopyInto ¶
func (in *ControllerStatusStatus) DeepCopyInto(out *ControllerStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerStatusStatus) MarshalBinary ¶
func (m *ControllerStatusStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ControllerStatusStatus) UnmarshalBinary ¶
func (m *ControllerStatusStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ControllerStatuses ¶
type ControllerStatuses []*ControllerStatus
ControllerStatuses Collection of controller statuses
swagger:model ControllerStatuses
type DatapathMode ¶
type DatapathMode string
DatapathMode Datapath mode
swagger:model DatapathMode
const ( // DatapathModeVeth captures enum value "veth" DatapathModeVeth DatapathMode = "veth" // DatapathModeIpvlan captures enum value "ipvlan" DatapathModeIpvlan DatapathMode = "ipvlan" )
type ENI ¶
type ENI struct { // description Description string `json:"description,omitempty"` // enterprise security group ids EnterpriseSecurityGroupIds []string `json:"enterpriseSecurityGroupIds,omitempty"` // ID unique identifier available for the resource ID string `json:"id,omitempty"` // InstanceID insance ID of node resource, like ID of BCC. // This field represents the node name that ENI expects to attached. // Example: // i-wWANcEYK // InstanceID string `json:"instanceID,omitempty"` // ipv6 private IP set IPV6PrivateIPSet []*PrivateIP `json:"ipv6PrivateIPSet,omitempty"` // MacAddress mac address of eni instance // After the ENI is attached to the VM, the ENI device should be found in the // VM through this mac address // Example: // fa:26:00:0d:51:c7 // MacAddress string `json:"macAddress,omitempty"` // The name of eni was created by CCE and format as {clusterID}-{instance_name}-{randmon} Name string `json:"name,omitempty"` // private IP set PrivateIPSet []*PrivateIP `json:"privateIPSet,omitempty"` // SecurityGroupIds list of security group IDs // An ENI should have at least one default security group // Example: // ["g-xpy9eitxhfib"] // SecurityGroupIds []string `json:"securityGroupIds,omitempty"` // SubnetID subnet id of eni instance // In scenarios where ENI is used across Subnet (such as PodSubnetTopologySpread), the subnet ID of ENI may // be different from secondry IP of the ENI. // Example: // sbn-na1y2xryjyf3 // SubnetID string `json:"subnetID,omitempty"` // VPCID vpc id of eni instance // In scenarios where ENI is used across VPCs (such as BCI), the VPC ID of ENI may // be different from that of the cluster // Example: // vpc-8nh1ks7a55a2 // VpcID string `json:"vpcID,omitempty"` // ZoneName zone name of eni instance ZoneName string `json:"zoneName,omitempty"` }
ENI eni definition
+k8s:deepcopy-gen=true
swagger:model ENI
func (*ENI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ENI.
func (*ENI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ENI) MarshalBinary ¶
MarshalBinary interface implementation
func (*ENI) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EndpointIdentifiers ¶
type EndpointIdentifiers struct { // device driver name Cnidriver string `json:"cnidriver,omitempty"` // ID assigned by container runtime ContainerID string `json:"container-id,omitempty"` // Name assigned to container ContainerName string `json:"container-name,omitempty"` // External network ID, such as the ID of the ENI occupied by the container ExternalIdentifier string `json:"external-identifier,omitempty"` // K8s namespace for this endpoint K8sNamespace string `json:"k8s-namespace,omitempty"` // K8s object id to indentifier a unique object K8sObjectID string `json:"k8s-object-id,omitempty"` // K8s pod name for this endpoint K8sPodName string `json:"k8s-pod-name,omitempty"` // netns use by CNI Netns string `json:"netns,omitempty"` // K8s pod for this endpoint(Deprecated, use K8sPodName and K8sNamespace instead) PodName string `json:"pod-name,omitempty"` }
EndpointIdentifiers Unique identifiers for this endpoint from outside CCE
+deepequal-gen=true
swagger:model EndpointIdentifiers
func (*EndpointIdentifiers) DeepEqual ¶
func (in *EndpointIdentifiers) DeepEqual(other *EndpointIdentifiers) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*EndpointIdentifiers) MarshalBinary ¶
func (m *EndpointIdentifiers) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EndpointIdentifiers) UnmarshalBinary ¶
func (m *EndpointIdentifiers) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EndpointProbeFeatureGate ¶
type EndpointProbeFeatureGate struct { // name Name string `json:"name,omitempty"` // Do you need to wait for the feature to complete WaitReady bool `json:"waitReady,omitempty"` }
EndpointProbeFeatureGate faeature gate representing the characteristics that require waiting and querying
swagger:model EndpointProbeFeatureGate
func (*EndpointProbeFeatureGate) MarshalBinary ¶
func (m *EndpointProbeFeatureGate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EndpointProbeFeatureGate) UnmarshalBinary ¶
func (m *EndpointProbeFeatureGate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EndpointProbeResponse ¶
type EndpointProbeResponse struct { // band width BandWidth *BandwidthOption `json:"bandWidth,omitempty"` // feature gates FeatureGates []ExtFeatureData `json:"featureGates,omitempty"` }
EndpointProbeResponse EndpointProbeResponse is the response of probe endpoint
swagger:model EndpointProbeResponse
func (*EndpointProbeResponse) MarshalBinary ¶
func (m *EndpointProbeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EndpointProbeResponse) UnmarshalBinary ¶
func (m *EndpointProbeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EndpointState ¶
type EndpointState string
EndpointState State of endpoint
swagger:model EndpointState
const ( // EndpointStateWaitingForIdentity captures enum value "waiting-for-identity" EndpointStateWaitingForIdentity EndpointState = "waiting-for-identity" // EndpointStateNotReady captures enum value "not-ready" EndpointStateNotReady EndpointState = "not-ready" // EndpointStateWaitingToRegenerate captures enum value "waiting-to-regenerate" EndpointStateWaitingToRegenerate EndpointState = "waiting-to-regenerate" // EndpointStateRegenerating captures enum value "regenerating" EndpointStateRegenerating EndpointState = "regenerating" // EndpointStateRestoring captures enum value "restoring" EndpointStateRestoring EndpointState = "restoring" // EndpointStateReady captures enum value "ready" EndpointStateReady EndpointState = "ready" // EndpointStateDisconnecting captures enum value "disconnecting" EndpointStateDisconnecting EndpointState = "disconnecting" // EndpointStateDisconnected captures enum value "disconnected" EndpointStateDisconnected EndpointState = "disconnected" // EndpointStateInvalid captures enum value "invalid" EndpointStateInvalid EndpointState = "invalid" // EndpointStateIPAllocated captures enum value "ip-allocated" EndpointStateIPAllocated EndpointState = "ip-allocated" // EndpointStatePodDeleted captures enum value "pod-deleted" EndpointStatePodDeleted EndpointState = "pod-deleted" )
type EndpointStatusChange ¶
type EndpointStatusChange struct { // Code indicate type of status change // Enum: [ok failed] Code string `json:"code,omitempty"` // Status message Message string `json:"message,omitempty"` // state State EndpointState `json:"state,omitempty"` // Timestamp when status change occurred Timestamp string `json:"timestamp,omitempty"` }
EndpointStatusChange Indication of a change of status
+deepequal-gen=true
swagger:model EndpointStatusChange
func (*EndpointStatusChange) DeepEqual ¶
func (in *EndpointStatusChange) DeepEqual(other *EndpointStatusChange) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
func (*EndpointStatusChange) MarshalBinary ¶
func (m *EndpointStatusChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EndpointStatusChange) UnmarshalBinary ¶
func (m *EndpointStatusChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EndpointStatusLog ¶
type EndpointStatusLog []*EndpointStatusChange
EndpointStatusLog Status log of endpoint
swagger:model EndpointStatusLog
type IPAMAddressResponse ¶
type IPAMAddressResponse struct { // List of CIDRs out of which IPs are allocated Cidrs []string `json:"cidrs"` // The UUID for the expiration timer. Set when expiration has been // enabled while allocating. // ExpirationUUID string `json:"expiration-uuid,omitempty"` // IP of gateway Gateway string `json:"gateway,omitempty"` // InterfaceNumber is a field for generically identifying an interface. This is only useful in ENI mode. // InterfaceNumber string `json:"interface-number,omitempty"` // Allocated IP for endpoint IP string `json:"ip,omitempty"` // MAC of master interface if address is a slave/secondary of a master interface MasterMac string `json:"master-mac,omitempty"` }
IPAMAddressResponse IPAM configuration of an individual address family
swagger:model IPAMAddressResponse
func (*IPAMAddressResponse) MarshalBinary ¶
func (m *IPAMAddressResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAMAddressResponse) UnmarshalBinary ¶
func (m *IPAMAddressResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAMResponse ¶
type IPAMResponse struct { // address // Required: true Address *AddressPair `json:"address"` // host addressing // Required: true HostAddressing *NodeAddressing `json:"host-addressing"` // ipv4 IPV4 *IPAMAddressResponse `json:"ipv4,omitempty"` // ipv6 IPV6 *IPAMAddressResponse `json:"ipv6,omitempty"` }
IPAMResponse IPAM configuration of an endpoint
swagger:model IPAMResponse
func (*IPAMResponse) MarshalBinary ¶
func (m *IPAMResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAMResponse) UnmarshalBinary ¶
func (m *IPAMResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IPAMStatus ¶
type IPAMStatus struct { // allocations Allocations AllocationMap `json:"allocations,omitempty"` // ipv4 IPV4 []string `json:"ipv4"` // ipv6 IPV6 []string `json:"ipv6"` // status Status string `json:"status,omitempty"` }
IPAMStatus Status of IP address management
+k8s:deepcopy-gen=true
swagger:model IPAMStatus
func (*IPAMStatus) DeepCopy ¶
func (in *IPAMStatus) DeepCopy() *IPAMStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMStatus.
func (*IPAMStatus) DeepCopyInto ¶
func (in *IPAMStatus) DeepCopyInto(out *IPAMStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAMStatus) MarshalBinary ¶
func (m *IPAMStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPAMStatus) UnmarshalBinary ¶
func (m *IPAMStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IpvlanConfiguration ¶
type IpvlanConfiguration struct { // Workload facing ipvlan master device ifindex. MasterDeviceIndex int64 `json:"masterDeviceIndex,omitempty"` // Mode in which ipvlan setup operates. // Enum: [L3 L3S] OperationMode string `json:"operationMode,omitempty"` }
IpvlanConfiguration Setup for datapath when operating in ipvlan mode.
swagger:model IpvlanConfiguration
func (*IpvlanConfiguration) MarshalBinary ¶
func (m *IpvlanConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IpvlanConfiguration) UnmarshalBinary ¶
func (m *IpvlanConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type K8sStatus ¶
type K8sStatus struct { // k8s api versions K8sAPIVersions []string `json:"k8s-api-versions"` // Human readable status/error/warning message Msg string `json:"msg,omitempty"` // State the component is in // Enum: [Ok Warning Failure Disabled] State string `json:"state,omitempty"` }
K8sStatus Status of Kubernetes integration
+k8s:deepcopy-gen=true
swagger:model K8sStatus
func (*K8sStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sStatus.
func (*K8sStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K8sStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*K8sStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Masquerading ¶
type Masquerading struct { // enabled Enabled bool `json:"enabled,omitempty"` // enabled protocols EnabledProtocols *MasqueradingEnabledProtocols `json:"enabledProtocols,omitempty"` // Is BPF ip-masq-agent enabled IPMasqAgent bool `json:"ip-masq-agent,omitempty"` // mode // Enum: [BPF iptables] Mode string `json:"mode,omitempty"` // This field is obsolete, please use snat-exclusion-cidr-v4 or snat-exclusion-cidr-v6. SnatExclusionCidr string `json:"snat-exclusion-cidr,omitempty"` // SnatExclusionCIDRv4 exempts SNAT from being performed on any packet sent to // an IPv4 address that belongs to this CIDR. SnatExclusionCidrV4 string `json:"snat-exclusion-cidr-v4,omitempty"` // SnatExclusionCIDRv6 exempts SNAT from being performed on any packet sent to // an IPv6 address that belongs to this CIDR. // For IPv6 we only do masquerading in iptables mode. SnatExclusionCidrV6 string `json:"snat-exclusion-cidr-v6,omitempty"` }
Masquerading Status of masquerading
+k8s:deepcopy-gen=true
swagger:model Masquerading
func (*Masquerading) DeepCopy ¶
func (in *Masquerading) DeepCopy() *Masquerading
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Masquerading.
func (*Masquerading) DeepCopyInto ¶
func (in *Masquerading) DeepCopyInto(out *Masquerading)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Masquerading) MarshalBinary ¶
func (m *Masquerading) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Masquerading) UnmarshalBinary ¶
func (m *Masquerading) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MasqueradingEnabledProtocols ¶
type MasqueradingEnabledProtocols struct { // Is masquerading enabled for IPv4 traffic IPV4 bool `json:"ipv4,omitempty"` // Is masquerading enabled for IPv6 traffic IPV6 bool `json:"ipv6,omitempty"` }
MasqueradingEnabledProtocols Is masquerading enabled
swagger:model MasqueradingEnabledProtocols
func (*MasqueradingEnabledProtocols) MarshalBinary ¶
func (m *MasqueradingEnabledProtocols) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MasqueradingEnabledProtocols) UnmarshalBinary ¶
func (m *MasqueradingEnabledProtocols) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Metric ¶
type Metric struct { // Labels of the metric Labels map[string]string `json:"labels,omitempty"` // Name of the metric Name string `json:"name,omitempty"` // Value of the metric Value float64 `json:"value,omitempty"` }
Metric Metric information
swagger:model Metric
func (*Metric) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metric) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MonitorStatus ¶
type MonitorStatus struct { // Number of CPUs to listen on for events. Cpus int64 `json:"cpus,omitempty"` // Number of samples lost by perf. Lost int64 `json:"lost,omitempty"` // Number of pages used for the perf ring buffer. Npages int64 `json:"npages,omitempty"` // Pages size used for the perf ring buffer. Pagesize int64 `json:"pagesize,omitempty"` // Number of unknown samples. Unknown int64 `json:"unknown,omitempty"` }
MonitorStatus Status of the node monitor
swagger:model MonitorStatus
func (*MonitorStatus) MarshalBinary ¶
func (m *MonitorStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MonitorStatus) UnmarshalBinary ¶
func (m *MonitorStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeAddressing ¶
type NodeAddressing struct { // ipv4 IPV4 *NodeAddressingElement `json:"ipv4,omitempty"` // ipv6 IPV6 *NodeAddressingElement `json:"ipv6,omitempty"` }
NodeAddressing Addressing information of a node for all address families
+k8s:deepcopy-gen=true
swagger:model NodeAddressing
func (*NodeAddressing) DeepCopy ¶
func (in *NodeAddressing) DeepCopy() *NodeAddressing
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddressing.
func (*NodeAddressing) DeepCopyInto ¶
func (in *NodeAddressing) DeepCopyInto(out *NodeAddressing)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeAddressing) MarshalBinary ¶
func (m *NodeAddressing) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeAddressing) UnmarshalBinary ¶
func (m *NodeAddressing) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeAddressingElement ¶
type NodeAddressingElement struct { // Node address type, one of HostName, ExternalIP or InternalIP AddressType string `json:"address-type,omitempty"` // Address pool to be used for local endpoints AllocRange string `json:"alloc-range,omitempty"` // True if address family is enabled Enabled bool `json:"enabled,omitempty"` // IP address of node IP string `json:"ip,omitempty"` }
NodeAddressingElement Addressing information
swagger:model NodeAddressingElement
func (*NodeAddressingElement) MarshalBinary ¶
func (m *NodeAddressingElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeAddressingElement) UnmarshalBinary ¶
func (m *NodeAddressingElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeElement ¶
type NodeElement struct { // Name of the node including the cluster association. This is typically // <clustername>/<hostname>. // Name string `json:"name,omitempty"` // Primary address used for intra-cluster communication PrimaryAddress *NodeAddressing `json:"primary-address,omitempty"` // Alternative addresses assigned to the node SecondaryAddresses []*NodeAddressingElement `json:"secondary-addresses"` }
NodeElement Known node in the cluster
+k8s:deepcopy-gen=true
swagger:model NodeElement
func (*NodeElement) DeepCopy ¶
func (in *NodeElement) DeepCopy() *NodeElement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeElement.
func (*NodeElement) DeepCopyInto ¶
func (in *NodeElement) DeepCopyInto(out *NodeElement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeElement) MarshalBinary ¶
func (m *NodeElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeElement) UnmarshalBinary ¶
func (m *NodeElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PrivateIP ¶
type PrivateIP struct { // cidr address CidrAddress string `json:"cidrAddress,omitempty"` // gateway IP GatewayIP string `json:"gatewayIP,omitempty"` // primary Primary bool `json:"primary,omitempty"` // private IP address PrivateIPAddress string `json:"privateIPAddress,omitempty"` // public IP address PublicIPAddress string `json:"publicIPAddress,omitempty"` // SubnetID subnet id of private ip assigned with this. // When allocating IP across subnets, the subnet of private IP may be // different from ENI // SubnetID string `json:"subnetID,omitempty"` }
PrivateIP VPC IP address
+k8s:deepcopy-gen=true
swagger:model PrivateIP
func (*PrivateIP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateIP.
func (*PrivateIP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrivateIP) MarshalBinary ¶
MarshalBinary interface implementation
func (*PrivateIP) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RDMAIPAMResponse ¶
type RDMAIPAMResponse struct { // address // Required: true Address *AddressPair `json:"address"` // host addressing // Required: true HostAddressing *NodeAddressing `json:"host-addressing"` // ipv4 IPV4 *IPAMAddressResponse `json:"ipv4,omitempty"` // ipv6 IPV6 *IPAMAddressResponse `json:"ipv6,omitempty"` }
RDMAIPAMResponse IPAM configuration of an endpoint
swagger:model RDMAIPAMResponse
func (*RDMAIPAMResponse) MarshalBinary ¶
func (m *RDMAIPAMResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RDMAIPAMResponse) UnmarshalBinary ¶
func (m *RDMAIPAMResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Status ¶
type Status struct { // Human readable status/error/warning message Msg string `json:"msg,omitempty"` // State the component is in // Enum: [Ok Warning Failure Disabled] State string `json:"state,omitempty"` }
Status Status of an individual component
+k8s:deepcopy-gen=true
swagger:model Status
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Status) MarshalBinary ¶
MarshalBinary interface implementation
func (*Status) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StatusResponse ¶
type StatusResponse struct { // Status of CCE daemon Cce *Status `json:"cce,omitempty"` // When supported by the API, this client ID should be used by the // client when making another request to the server. // See for example "/cluster/nodes". // ClientID string `json:"client-id,omitempty"` // Status of local container runtime ContainerRuntime *Status `json:"container-runtime,omitempty"` // Status of all endpoint controllers Controllers ControllerStatuses `json:"controllers,omitempty"` // List of stale information in the status Stale map[string]strfmt.DateTime `json:"stale,omitempty"` }
StatusResponse Health and status information of daemon
+k8s:deepcopy-gen=true
swagger:model StatusResponse
func (*StatusResponse) DeepCopy ¶
func (in *StatusResponse) DeepCopy() *StatusResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusResponse.
func (*StatusResponse) DeepCopyInto ¶
func (in *StatusResponse) DeepCopyInto(out *StatusResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StatusResponse) MarshalBinary ¶
func (m *StatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatusResponse) UnmarshalBinary ¶
func (m *StatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- address.go
- address_pair.go
- allocation_map.go
- backend_address.go
- bandwidth_option.go
- c_n_i_chaining_status.go
- cluster_node_status.go
- cluster_nodes_response.go
- cluster_status.go
- configuration_map.go
- controller_status.go
- controller_statuses.go
- datapath_mode.go
- doc.go
- endpoint_identifiers.go
- endpoint_probe_feature_gate.go
- endpoint_probe_response.go
- endpoint_state.go
- endpoint_status_change.go
- endpoint_status_log.go
- eni.go
- error.go
- ext_feature_data.go
- ip_a_m_address_response.go
- ip_a_m_response.go
- ip_a_m_status.go
- ipvlan_configuration.go
- k8s_status.go
- masquerading.go
- metric.go
- monitor_status.go
- node_addressing.go
- node_addressing_element.go
- node_element.go
- private_ip.go
- r_d_m_a_ip_a_m_response.go
- status.go
- status_response.go
- zz_generated.deepcopy.go
- zz_generated.deepequal.go