Documentation ¶
Overview ¶
API Schema definitions for configuring the installation of Calico and Calico Enterprise +k8s:deepcopy-gen=package,register +groupName=operator.tigera.io
API Schema definitions for configuring the installation of Calico and Calico Enterprise +k8s:deepcopy-gen=package,register +groupName=operator.tigera.io
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterDefaults(scheme *runtime.Scheme) error
- type APIServer
- type APIServerList
- type APIServerSpec
- type APIServerStatus
- type AdditionalLogSourceSpec
- type AdditionalLogStoreSpec
- type Auth
- type AuthType
- type CalicoNetworkSpec
- type ClusterManagementType
- type Compliance
- type ComplianceList
- type ComplianceSpec
- type ComplianceStatus
- type ComponentName
- type ComponentResource
- type ConditionStatus
- type EksCloudwatchLogsSpec
- type EncapsulationType
- type HostPortsType
- type IPPool
- type Indices
- type Installation
- type InstallationList
- type InstallationSpec
- type InstallationStatus
- type IntrusionDetection
- type IntrusionDetectionList
- type IntrusionDetectionSpec
- type IntrusionDetectionStatus
- type LogCollector
- type LogCollectorList
- type LogCollectorSpec
- type LogCollectorStatus
- type LogStorage
- type LogStorageList
- type LogStorageSpec
- type LogStorageStatus
- type ManagementClusterConnection
- type ManagementClusterConnectionList
- type ManagementClusterConnectionSpec
- type Manager
- type ManagerList
- type ManagerSpec
- type ManagerStatus
- type MultiInterfaceMode
- type NATOutgoingType
- type NodeAddressAutodetection
- type Nodes
- type ProductVariant
- type Provider
- type Retention
- type S3StoreSpec
- type SplunkStoreSpec
- type StatusConditionType
- type SyslogStoreSpec
- type TigeraStatus
- type TigeraStatusCondition
- type TigeraStatusList
- type TigeraStatusSpec
- type TigeraStatusStatus
Constants ¶
const ( LogStorageStatusDegraded = "Degraded" LogStorageStatusReady = "Ready" )
const ( AuthTypeToken = "Token" AuthTypeBasic = "Basic" AuthTypeOIDC = "OIDC" AuthTypeOAuth = "OAuth" )
const (
APIServerStatusReady = "Ready"
)
const (
ComplianceStatusReady = "Ready"
)
const (
IntrusionDetectionStatusReady = "Ready"
)
const (
LogControllerStatusReady = "Ready"
)
const NodeSelectorDefault string = "all()"
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operator.tigera.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var EncapsulationTypes []EncapsulationType = []EncapsulationType{ EncapsulationIPIPCrossSubnet, EncapsulationIPIP, EncapsulationVXLAN, EncapsulationVXLANCrossSubnet, EncapsulationNone, }
var EncapsulationTypesString []string = []string{ EncapsulationIPIPCrossSubnet.String(), EncapsulationIPIP.String(), EncapsulationVXLAN.String(), EncapsulationVXLANCrossSubnet.String(), EncapsulationNone.String(), }
var HostPortsTypes []HostPortsType = []HostPortsType{ HostPortsEnabled, HostPortsDisabled, }
var HostPortsTypesString []string = []string{ HostPortsEnabled.String(), HostPortsDisabled.String(), }
var NATOutgoingTypes []NATOutgoingType = []NATOutgoingType{ NATOutgoingEnabled, NATOutgoingDisabled, }
var NATOutgoingTypesString []string = []string{ NATOutgoingEnabled.String(), NATOutgoingDisabled.String(), }
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type APIServer ¶
type APIServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state for the Tigera API server. Spec APIServerSpec `json:"spec,omitempty"` // Most recently observed status for the Tigera API server. Status APIServerStatus `json:"status,omitempty"` }
APIServer installs the Tigera API server and related resources. At most one instance of this resource is supported. It must be named "tigera-secure". +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*APIServer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
func (*APIServer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIServer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIServerList ¶
type APIServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []APIServer `json:"items"` }
APIServerList contains a list of APIServer
func (*APIServerList) DeepCopy ¶
func (in *APIServerList) DeepCopy() *APIServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerList.
func (*APIServerList) DeepCopyInto ¶
func (in *APIServerList) DeepCopyInto(out *APIServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIServerList) DeepCopyObject ¶
func (in *APIServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIServerSpec ¶
type APIServerSpec struct { }
APIServerSpec defines the desired state of Tigera API server. +k8s:openapi-gen=true
func (*APIServerSpec) DeepCopy ¶
func (in *APIServerSpec) DeepCopy() *APIServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerSpec.
func (*APIServerSpec) DeepCopyInto ¶
func (in *APIServerSpec) DeepCopyInto(out *APIServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIServerStatus ¶
type APIServerStatus struct { // State provides user-readable status. State string `json:"state,omitempty"` }
APIServerStatus defines the observed state of Tigera API server. +k8s:openapi-gen=true
func (*APIServerStatus) DeepCopy ¶
func (in *APIServerStatus) DeepCopy() *APIServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerStatus.
func (*APIServerStatus) DeepCopyInto ¶
func (in *APIServerStatus) DeepCopyInto(out *APIServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdditionalLogSourceSpec ¶ added in v1.0.0
type AdditionalLogSourceSpec struct { // If specified with EKS Provider in Installation, enables fetching EKS // audit logs. // +optional EksCloudwatchLog *EksCloudwatchLogsSpec `json:"eksCloudwatchLog,omitempty"` }
func (*AdditionalLogSourceSpec) DeepCopy ¶ added in v1.0.0
func (in *AdditionalLogSourceSpec) DeepCopy() *AdditionalLogSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalLogSourceSpec.
func (*AdditionalLogSourceSpec) DeepCopyInto ¶ added in v1.0.0
func (in *AdditionalLogSourceSpec) DeepCopyInto(out *AdditionalLogSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdditionalLogStoreSpec ¶ added in v1.0.0
type AdditionalLogStoreSpec struct { // If specified, enables exporting of flow, audit, and DNS logs to Amazon S3 storage. // +optional S3 *S3StoreSpec `json:"s3,omitempty"` // If specified, enables exporting of flow, audit, and DNS logs to syslog. // +optional Syslog *SyslogStoreSpec `json:"syslog,omitempty"` // If specified, enables exporting of flow, audit, and DNS logs to splunk. // +optional Splunk *SplunkStoreSpec `json:"splunk,omitempty"` }
func (*AdditionalLogStoreSpec) DeepCopy ¶ added in v1.0.0
func (in *AdditionalLogStoreSpec) DeepCopy() *AdditionalLogStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalLogStoreSpec.
func (*AdditionalLogStoreSpec) DeepCopyInto ¶ added in v1.0.0
func (in *AdditionalLogStoreSpec) DeepCopyInto(out *AdditionalLogStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Auth ¶
type Auth struct { // Type configures the type of authentication used by the manager. // Default: Token // +kubebuilder:validation:Enum=Token;Basic;OIDC;OAuth Type AuthType `json:"type,omitempty"` // Authority configures the OAuth2/OIDC authority/issuer when using OAuth2 or OIDC login. // +optional Authority string `json:"authority,omitempty"` // ClientId configures the OAuth2/OIDC client ID to use for OAuth2 or OIDC login. // +optional ClientID string `json:"clientID,omitempty"` }
Auth defines authentication configuration. +k8s:openapi-gen=true
func (*Auth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
func (*Auth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthType ¶
type AuthType string
AuthType represents the type of authentication to use. Valid options are: Token, Basic, OIDC, OAuth
type CalicoNetworkSpec ¶ added in v1.0.0
type CalicoNetworkSpec struct { // IPPools contains a list of IP pools to use for allocating pod IP addresses. At most one IP pool // may be specified. If omitted, a single pool will be configured when needed. // +optional IPPools []IPPool `json:"ipPools,omitempty"` // MTU specifies the maximum transmission unit to use for pods on the Calico network. // Default: 1410 // +optional MTU *int32 `json:"mtu,omitempty"` // NodeAddressAutodetectionV4 specifies an approach to automatically detect node IPv4 addresses. If not specified, // will use default auto-detection settings to acquire an IPv4 address for each node. // +optional NodeAddressAutodetectionV4 *NodeAddressAutodetection `json:"nodeAddressAutodetectionV4,omitempty"` // NodeAddressAutodetectionV6 specifies an approach to automatically detect node IPv4 addresses. If not specified, // IPv6 addresses will not be auto-detected. // +optional NodeAddressAutodetectionV6 *NodeAddressAutodetection `json:"nodeAddressAutodetectionV6,omitempty"` // HostPorts configures whether or not Calico will support Kubernetes HostPorts. // Default: Enabled // +optional // +kubebuilder:validation:Enum=Enabled;Disabled HostPorts *HostPortsType `json:"hostPorts,omitempty"` // MultiInterfaceMode configures what will configure multiple interface per pod. Only valid for Calico Enterprise installations. // Default: None // +optional // +kubebuilder:validation:Enum=None;Multus MultiInterfaceMode *MultiInterfaceMode `json:"multiInterfaceMode,omitempty"` }
CalicoNetworkSpec specifies configuration options for Calico provided pod networking.
func (*CalicoNetworkSpec) DeepCopy ¶ added in v1.0.0
func (in *CalicoNetworkSpec) DeepCopy() *CalicoNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalicoNetworkSpec.
func (*CalicoNetworkSpec) DeepCopyInto ¶ added in v1.0.0
func (in *CalicoNetworkSpec) DeepCopyInto(out *CalicoNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterManagementType ¶ added in v1.2.0
type ClusterManagementType string
ClusterManagementType represents the type of multicluster management to use. Valid options for this field are: "Standalone", "Management", "Managed".
const ( ClusterManagementTypeStandalone ClusterManagementType = "Standalone" ClusterManagementTypeManagement ClusterManagementType = "Management" ClusterManagementTypeManaged ClusterManagementType = "Managed" )
type Compliance ¶
type Compliance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state for Tigera compliance reporting. Spec ComplianceSpec `json:"spec,omitempty"` // Most recently observed state for Tigera compliance reporting. Status ComplianceStatus `json:"status,omitempty"` }
Compliance installs the components required for Tigera compliance reporting. At most one instance of this resource is supported. It must be named "tigera-secure". +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*Compliance) DeepCopy ¶
func (in *Compliance) DeepCopy() *Compliance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Compliance.
func (*Compliance) DeepCopyInto ¶
func (in *Compliance) DeepCopyInto(out *Compliance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Compliance) DeepCopyObject ¶
func (in *Compliance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComplianceList ¶
type ComplianceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Compliance `json:"items"` }
ComplianceList contains a list of Compliance
func (*ComplianceList) DeepCopy ¶
func (in *ComplianceList) DeepCopy() *ComplianceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceList.
func (*ComplianceList) DeepCopyInto ¶
func (in *ComplianceList) DeepCopyInto(out *ComplianceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComplianceList) DeepCopyObject ¶
func (in *ComplianceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComplianceSpec ¶
type ComplianceSpec struct { }
ComplianceSpec defines the desired state of Tigera compliance reporting capabilities. +k8s:openapi-gen=true
func (*ComplianceSpec) DeepCopy ¶
func (in *ComplianceSpec) DeepCopy() *ComplianceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceSpec.
func (*ComplianceSpec) DeepCopyInto ¶
func (in *ComplianceSpec) DeepCopyInto(out *ComplianceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComplianceStatus ¶
type ComplianceStatus struct { // State provides user-readable status. State string `json:"state,omitempty"` }
ComplianceStatus defines the observed state of Tigera compliance reporting capabilities. +k8s:openapi-gen=true
func (*ComplianceStatus) DeepCopy ¶
func (in *ComplianceStatus) DeepCopy() *ComplianceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceStatus.
func (*ComplianceStatus) DeepCopyInto ¶
func (in *ComplianceStatus) DeepCopyInto(out *ComplianceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentName ¶ added in v1.7.0
type ComponentName string
ComponentName CRD enum
const ( ComponentNameNode ComponentName = "Node" ComponentNameTypha ComponentName = "Typha" ComponentNameKubeControllers ComponentName = "KubeControllers" )
type ComponentResource ¶ added in v1.7.0
type ComponentResource struct { // ComponentName is an enum which identifies the component // +kubebuilder:validation:Enum=Node;Typha;KubeControllers ComponentName ComponentName `json:"componentName"` // ResourceRequirements allows customization of limits and requests for compute resources such as cpu and memory. ResourceRequirements *v1.ResourceRequirements `json:"resourceRequirements"` }
The ComponentResource struct associates a ResourceRequirements with a component by name +k8s:openapi-gen=true
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus represents the status of a particular condition. A condition may be one of: True, False, Unknown.
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
type EksCloudwatchLogsSpec ¶ added in v1.0.0
type EksCloudwatchLogsSpec struct { // AWS Region EKS cluster is hosted in. Region string `json:"region"` // Cloudwatch log-group name containing EKS audit logs. GroupName string `json:"groupName"` // Prefix of Cloudwatch log stream containing EKS audit logs in the log-group. // Default: kube-apiserver-audit- // +optional StreamPrefix string `json:"streamPrefix,omitempty"` // Cloudwatch audit logs fetching interval in seconds. // Default: 60 // +optional FetchInterval int32 `json:"fetchInterval,omitempty"` }
EksConfigSpec defines configuration for fetching EKS audit logs.
func (*EksCloudwatchLogsSpec) DeepCopy ¶ added in v1.0.0
func (in *EksCloudwatchLogsSpec) DeepCopy() *EksCloudwatchLogsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EksCloudwatchLogsSpec.
func (*EksCloudwatchLogsSpec) DeepCopyInto ¶ added in v1.0.0
func (in *EksCloudwatchLogsSpec) DeepCopyInto(out *EksCloudwatchLogsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncapsulationType ¶ added in v1.0.0
type EncapsulationType string
EncapsulationType is the type of encapsulation to use on an IP pool. Valid options are: IPIP, VXLAN, IPIPCrossSubnet, VXLANCrossSubnet, None.
const ( EncapsulationIPIPCrossSubnet EncapsulationType = "IPIPCrossSubnet" EncapsulationIPIP EncapsulationType = "IPIP" EncapsulationVXLAN EncapsulationType = "VXLAN" EncapsulationVXLANCrossSubnet EncapsulationType = "VXLANCrossSubnet" EncapsulationNone EncapsulationType = "None" EncapsulationDefault EncapsulationType = EncapsulationIPIP )
func (EncapsulationType) String ¶ added in v1.0.0
func (et EncapsulationType) String() string
type HostPortsType ¶ added in v1.3.2
type HostPortsType string
HostPortsType specifies if the HostPorts plugin enabled status.
const ( HostPortsEnabled HostPortsType = "Enabled" HostPortsDisabled HostPortsType = "Disabled" )
func (HostPortsType) String ¶ added in v1.3.2
func (nt HostPortsType) String() string
type IPPool ¶
type IPPool struct { // CIDR contains the address range for the IP Pool in classless inter-domain routing format. CIDR string `json:"cidr"` // Encapsulation specifies the encapsulation type that will be used with // the IP Pool. // Default: IPIP // +optional // +kubebuilder:validation:Enum=IPIPCrossSubnet;IPIP;VXLAN;VXLANCrossSubnet;None Encapsulation EncapsulationType `json:"encapsulation,omitempty"` // NATOutgoing specifies if NAT will be enabled or disabled for outgoing traffic. // Default: Enabled // +optional // +kubebuilder:validation:Enum=Enabled;Disabled NATOutgoing NATOutgoingType `json:"natOutgoing,omitempty"` // NodeSelector specifies the node selector that will be set for the IP Pool. // Default: 'all()' // +optional NodeSelector string `json:"nodeSelector,omitempty"` // BlockSize specifies the CIDR prefex length to use when allocating per-node IP blocks from // the main IP pool CIDR. // Default: 26 (IPv4), 122 (IPv6) // +optional BlockSize *int32 `json:"blockSize,omitempty"` }
func (*IPPool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPool.
func (*IPPool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Indices ¶ added in v1.0.0
type Indices struct { // Replicas defines how many replicas each index will have. See https://www.elastic.co/guide/en/elasticsearch/reference/current/scalability.html // +optional Replicas *int32 `json:"replicas,omitempty"` }
Indices defines the configuration for the indices in an Elasticsearch cluster.
func (*Indices) DeepCopy ¶ added in v1.0.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Indices.
func (*Indices) DeepCopyInto ¶ added in v1.0.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Installation ¶
type Installation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state for the Calico or Calico Enterprise installation. Spec InstallationSpec `json:"spec,omitempty"` // Most recently observed state for the Calico or Calico Enterprise installation. Status InstallationStatus `json:"status,omitempty"` }
Installation configures an installation of Calico or Calico Enterprise. At most one instance of this resource is supported. It must be named "default". The Installation API installs core networking and network policy components, and provides general install-time configuration. +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*Installation) DeepCopy ¶
func (in *Installation) DeepCopy() *Installation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Installation.
func (*Installation) DeepCopyInto ¶
func (in *Installation) DeepCopyInto(out *Installation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Installation) DeepCopyObject ¶
func (in *Installation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstallationList ¶
type InstallationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Installation `json:"items"` }
InstallationList contains a list of Installation
func (*InstallationList) DeepCopy ¶
func (in *InstallationList) DeepCopy() *InstallationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationList.
func (*InstallationList) DeepCopyInto ¶
func (in *InstallationList) DeepCopyInto(out *InstallationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstallationList) DeepCopyObject ¶
func (in *InstallationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstallationSpec ¶
type InstallationSpec struct { // Variant is the product to install - one of Calico or TigeraSecureEnterprise // Default: Calico // +optional // +kubebuilder:validation:Enum=Calico;TigeraSecureEnterprise Variant ProductVariant `json:"variant,omitempty"` // Registry is the default Docker registry used for component Docker images. If specified, // all images will be pulled from this registry. If not specified then the default registries // will be used. // // Image format: // `<registry>/<imagePath>/<imageName>:<image-tag>` // // This option allows configuring the `<registry>` portion of the above format. // +optional Registry string `json:"registry,omitempty"` // ImagePath allows for the path part of an image to be specified. If specified // then the specified value will be used as the image path for each image. If not specified // or empty, the default for each image will be used. // // Image format: // `<registry>/<imagePath>/<imageName>:<image-tag>` // // This option allows configuring the `<imagePath>` portion of the above format. // +optional ImagePath string `json:"imagePath,omitempty"` // ImagePullSecrets is an array of references to container registry pull secrets to use. These are // applied to all images to be pulled. // +optional ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"` // KubernetesProvider specifies a particular provider of the Kubernetes platform and enables provider-specific configuration. // If the specified value is empty, the Operator will attempt to automatically determine the current provider. // If the specified value is not empty, the Operator will still attempt auto-detection, but // will additionally compare the auto-detected value to the specified value to confirm they match. // +optional // +kubebuilder:validation:Enum=EKS;GKE;AKS;OpenShift;DockerEnterprise KubernetesProvider Provider `json:"kubernetesProvider,omitempty"` // CalicoNetwork specifies configuration options for Calico provided pod networking. // +optional CalicoNetwork *CalicoNetworkSpec `json:"calicoNetwork,omitempty"` // How the cluster is managed. Valid values for this field are: Standalone, Management, Managed. // Standalone clusters are fully self-contained installations of Calico Enterprise. Management clusters provide // a single view to manage any number of Managed clusters, which are a lighter weight installation. // This option is applicable only when variant is TigeraSecureEnterprise. // Default: Standalone // +optional // +kubebuilder:validation:Enum=Standalone;Management;Managed ClusterManagementType ClusterManagementType `json:"clusterManagementType,omitempty"` // ControlPlaneNodeSelector is used to select control plane nodes on which to run specific Calico // components. This currently only applies to kube-controllers and the apiserver. // +optional ControlPlaneNodeSelector map[string]string `json:"controlPlaneNodeSelector,omitempty"` // NodeMetricsPort specifies which port calico/node serves prometheus metrics on. By default, metrics are not enabled. // If specified, this overrides any FelixConfiguration resources which may exist. If omitted, then // prometheus metrics may still be configured through FelixConfiguration. // +optional NodeMetricsPort *int32 `json:"nodeMetricsPort,omitempty"` // FlexVolumePath optionally specifies a custom path for FlexVolume. If not specified, FlexVolume will be // enabled by default. If set to 'None', FlexVolume will be disabled. The default is based on the // kubernetesProvider. // +optional FlexVolumePath string `json:"flexVolumePath,omitempty"` // NodeUpdateStrategy can be used to customize the desired update strategy, such as the MaxUnavailable // field. // +optional NodeUpdateStrategy appsv1.DaemonSetUpdateStrategy `json:"nodeUpdateStrategy,omitempty"` // ComponentResources can be used to customize the resource requirements for each component. // +optional ComponentResources []*ComponentResource `json:"componentResources,omitempty"` }
InstallationSpec defines configuration for a Calico or Calico Enterprise installation. +k8s:openapi-gen=true
func (*InstallationSpec) DeepCopy ¶
func (in *InstallationSpec) DeepCopy() *InstallationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationSpec.
func (*InstallationSpec) DeepCopyInto ¶
func (in *InstallationSpec) DeepCopyInto(out *InstallationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallationStatus ¶
type InstallationStatus struct { // Variant is the most recently observed installed variant - one of Calico or TigeraSecureEnterprise // +kubebuilder:validation:Enum=Calico;TigeraSecureEnterprise Variant ProductVariant `json:"variant,omitempty"` }
InstallationStatus defines the observed state of the Calico or Calico Enterprise installation. +k8s:openapi-gen=true
func (*InstallationStatus) DeepCopy ¶
func (in *InstallationStatus) DeepCopy() *InstallationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationStatus.
func (*InstallationStatus) DeepCopyInto ¶
func (in *InstallationStatus) DeepCopyInto(out *InstallationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntrusionDetection ¶
type IntrusionDetection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state for Tigera intrusion detection. Spec IntrusionDetectionSpec `json:"spec,omitempty"` // Most recently observed state for Tigera intrusion detection. Status IntrusionDetectionStatus `json:"status,omitempty"` }
IntrusionDetection installs the components required for Tigera intrusion detection. At most one instance of this resource is supported. It must be named "tigera-secure". +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*IntrusionDetection) DeepCopy ¶
func (in *IntrusionDetection) DeepCopy() *IntrusionDetection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntrusionDetection.
func (*IntrusionDetection) DeepCopyInto ¶
func (in *IntrusionDetection) DeepCopyInto(out *IntrusionDetection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntrusionDetection) DeepCopyObject ¶
func (in *IntrusionDetection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IntrusionDetectionList ¶
type IntrusionDetectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IntrusionDetection `json:"items"` }
IntrusionDetectionList contains a list of IntrusionDetection
func (*IntrusionDetectionList) DeepCopy ¶
func (in *IntrusionDetectionList) DeepCopy() *IntrusionDetectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntrusionDetectionList.
func (*IntrusionDetectionList) DeepCopyInto ¶
func (in *IntrusionDetectionList) DeepCopyInto(out *IntrusionDetectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntrusionDetectionList) DeepCopyObject ¶
func (in *IntrusionDetectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IntrusionDetectionSpec ¶
type IntrusionDetectionSpec struct { }
IntrusionDetectionSpec defines the desired state of Tigera intrusion detection capabilities. +k8s:openapi-gen=true
func (*IntrusionDetectionSpec) DeepCopy ¶
func (in *IntrusionDetectionSpec) DeepCopy() *IntrusionDetectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntrusionDetectionSpec.
func (*IntrusionDetectionSpec) DeepCopyInto ¶
func (in *IntrusionDetectionSpec) DeepCopyInto(out *IntrusionDetectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntrusionDetectionStatus ¶
type IntrusionDetectionStatus struct { // State provides user-readable status. State string `json:"state,omitempty"` }
IntrusionDetectionStatus defines the observed state of Tigera intrusion detection capabilities. +k8s:openapi-gen=true
func (*IntrusionDetectionStatus) DeepCopy ¶
func (in *IntrusionDetectionStatus) DeepCopy() *IntrusionDetectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntrusionDetectionStatus.
func (*IntrusionDetectionStatus) DeepCopyInto ¶
func (in *IntrusionDetectionStatus) DeepCopyInto(out *IntrusionDetectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogCollector ¶ added in v1.0.0
type LogCollector struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state for Tigera log collection. Spec LogCollectorSpec `json:"spec,omitempty"` // Most recently observed state for Tigera log collection. Status LogCollectorStatus `json:"status,omitempty"` }
LogCollector installs the components required for Tigera flow and DNS log collection. At most one instance of this resource is supported. It must be named "tigera-secure". When created, this installs fluentd on all nodes configured to collect Tigera log data and export it to Tigera's Elasticsearch cluster as well as any additionally configured destinations. +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*LogCollector) DeepCopy ¶ added in v1.0.0
func (in *LogCollector) DeepCopy() *LogCollector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollector.
func (*LogCollector) DeepCopyInto ¶ added in v1.0.0
func (in *LogCollector) DeepCopyInto(out *LogCollector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogCollector) DeepCopyObject ¶ added in v1.0.0
func (in *LogCollector) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogCollectorList ¶ added in v1.0.0
type LogCollectorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogCollector `json:"items"` }
LogCollectorList contains a list of LogCollector
func (*LogCollectorList) DeepCopy ¶ added in v1.0.0
func (in *LogCollectorList) DeepCopy() *LogCollectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectorList.
func (*LogCollectorList) DeepCopyInto ¶ added in v1.0.0
func (in *LogCollectorList) DeepCopyInto(out *LogCollectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogCollectorList) DeepCopyObject ¶ added in v1.0.0
func (in *LogCollectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogCollectorSpec ¶ added in v1.0.0
type LogCollectorSpec struct { // Configuration for exporting flow, audit, and DNS logs to external storage. // +optional AdditionalStores *AdditionalLogStoreSpec `json:"additionalStores,omitempty"` // Configuration for importing audit logs from managed kubernetes cluster log sources. // +optional AdditionalSources *AdditionalLogSourceSpec `json:"additionalSources,omitempty"` }
LogCollectorSpec defines the desired state of Tigera flow, audit, and DNS log collection. +k8s:openapi-gen=true
func (*LogCollectorSpec) DeepCopy ¶ added in v1.0.0
func (in *LogCollectorSpec) DeepCopy() *LogCollectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectorSpec.
func (*LogCollectorSpec) DeepCopyInto ¶ added in v1.0.0
func (in *LogCollectorSpec) DeepCopyInto(out *LogCollectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogCollectorStatus ¶ added in v1.0.0
type LogCollectorStatus struct { // State provides user-readable status. State string `json:"state,omitempty"` }
LogCollectorStatus defines the observed state of Tigera flow and DNS log collection +k8s:openapi-gen=true
func (*LogCollectorStatus) DeepCopy ¶ added in v1.0.0
func (in *LogCollectorStatus) DeepCopy() *LogCollectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectorStatus.
func (*LogCollectorStatus) DeepCopyInto ¶ added in v1.0.0
func (in *LogCollectorStatus) DeepCopyInto(out *LogCollectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogStorage ¶ added in v1.0.0
type LogStorage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state for Tigera log storage. Spec LogStorageSpec `json:"spec,omitempty"` // Most recently observed state for Tigera log storage. Status LogStorageStatus `json:"status,omitempty"` }
LogStorage installs the components required for Tigera flow and DNS log storage. At most one instance of this resource is supported. It must be named "tigera-secure". When created, this installs an Elasticsearch cluster for use by Calico Enterprise. +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*LogStorage) DeepCopy ¶ added in v1.0.0
func (in *LogStorage) DeepCopy() *LogStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogStorage.
func (*LogStorage) DeepCopyInto ¶ added in v1.0.0
func (in *LogStorage) DeepCopyInto(out *LogStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogStorage) DeepCopyObject ¶ added in v1.0.0
func (in *LogStorage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (LogStorage) Replicas ¶ added in v1.0.2
func (ls LogStorage) Replicas() int
type LogStorageList ¶ added in v1.0.0
type LogStorageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogStorage `json:"items"` }
LogStorageList contains a list of LogStorage
func (*LogStorageList) DeepCopy ¶ added in v1.0.0
func (in *LogStorageList) DeepCopy() *LogStorageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogStorageList.
func (*LogStorageList) DeepCopyInto ¶ added in v1.0.0
func (in *LogStorageList) DeepCopyInto(out *LogStorageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogStorageList) DeepCopyObject ¶ added in v1.0.0
func (in *LogStorageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogStorageSpec ¶ added in v1.0.0
type LogStorageSpec struct { // Nodes defines the configuration for a set of identical Elasticsearch cluster nodes, each of type master, data, and ingest. Nodes *Nodes `json:"nodes,omitempty"` // Index defines the configuration for the indices in the Elasticsearch cluster. // +optional Indices *Indices `json:"indices,omitempty"` // Retention defines how long data is retained in the Elasticsearch cluster before it is cleared. // +optional Retention *Retention `json:"retention,omitempty"` // StorageClassName will populate the PersistentVolumeClaim.StorageClassName that is used to provision disks to the // Tigera Elasticsearch cluster. The StorageClassName should only be modified when no LogStorage is currently // active. We recommend choosing a storage class dedicated to Tigera LogStorage only. Otherwise, data retention // cannot be guaranteed during upgrades. See https://docs.tigera.io/maintenance/upgrading for up-to-date instructions. // Default: tigera-elasticsearch // +optional StorageClassName string `json:"storageClassName,omitempty"` // DataNodeSelector gives you more control over the node that Elasticsearch will run on. The contents of DataNodeSelector will // be added to the PodSpec of the Elasticsearch nodes. For the pod to be eligible to run on a node, the node must have // each of the indicated key-value pairs as labels as well as access to the specified StorageClassName. // +optional DataNodeSelector map[string]string `json:"dataNodeSelector,omitempty"` }
LogStorageSpec defines the desired state of Tigera flow and DNS log storage. +k8s:openapi-gen=true
func (*LogStorageSpec) DeepCopy ¶ added in v1.0.0
func (in *LogStorageSpec) DeepCopy() *LogStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogStorageSpec.
func (*LogStorageSpec) DeepCopyInto ¶ added in v1.0.0
func (in *LogStorageSpec) DeepCopyInto(out *LogStorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogStorageStatus ¶ added in v1.0.0
type LogStorageStatus struct { // State provides user-readable status. State string `json:"state,omitempty"` // ElasticsearchHash represents the current revision and configuration of the installed Elasticsearch cluster. This // is an opaque string which can be monitored for changes to perform actions when Elasticsearch is modified. ElasticsearchHash string `json:"elasticsearchHash,omitempty"` // KibanaHash represents the current revision and configuration of the installed Kibana dashboard. This // is an opaque string which can be monitored for changes to perform actions when Kibana is modified. KibanaHash string `json:"kibanaHash,omitempty"` }
LogStorageStatus defines the observed state of Tigera flow and DNS log storage. +k8s:openapi-gen=true
func (*LogStorageStatus) DeepCopy ¶ added in v1.0.0
func (in *LogStorageStatus) DeepCopy() *LogStorageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogStorageStatus.
func (*LogStorageStatus) DeepCopyInto ¶ added in v1.0.0
func (in *LogStorageStatus) DeepCopyInto(out *LogStorageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementClusterConnection ¶ added in v1.2.0
type ManagementClusterConnection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagementClusterConnectionSpec `json:"spec,omitempty"` }
ManagementClusterConnection represents a link between a managed cluster and a management cluster. At most one instance of this resource is supported. It must be named "tigera-secure". +k8s:openapi-gen=true +kubebuilder:resource:scope=Cluster
func (*ManagementClusterConnection) DeepCopy ¶ added in v1.2.0
func (in *ManagementClusterConnection) DeepCopy() *ManagementClusterConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterConnection.
func (*ManagementClusterConnection) DeepCopyInto ¶ added in v1.2.0
func (in *ManagementClusterConnection) DeepCopyInto(out *ManagementClusterConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementClusterConnection) DeepCopyObject ¶ added in v1.2.0
func (in *ManagementClusterConnection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementClusterConnectionList ¶ added in v1.2.0
type ManagementClusterConnectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagementClusterConnection `json:"items"` }
ManagementClusterConnectionList contains a list of ManagementClusterConnection.
func (*ManagementClusterConnectionList) DeepCopy ¶ added in v1.2.0
func (in *ManagementClusterConnectionList) DeepCopy() *ManagementClusterConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterConnectionList.
func (*ManagementClusterConnectionList) DeepCopyInto ¶ added in v1.2.0
func (in *ManagementClusterConnectionList) DeepCopyInto(out *ManagementClusterConnectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementClusterConnectionList) DeepCopyObject ¶ added in v1.2.0
func (in *ManagementClusterConnectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementClusterConnectionSpec ¶ added in v1.2.0
type ManagementClusterConnectionSpec struct { // Specify where the managed cluster can reach the management cluster. Ex.: "10.128.0.10:30449". A managed cluster // should be able to access this address. This field is used by managed clusters only. // +optional ManagementClusterAddr string `json:"managementClusterAddr,omitempty"` }
ManagementClusterConnectionSpec defines the desired state of ManagementClusterConnection +k8s:openapi-gen=true
func (*ManagementClusterConnectionSpec) DeepCopy ¶ added in v1.2.0
func (in *ManagementClusterConnectionSpec) DeepCopy() *ManagementClusterConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterConnectionSpec.
func (*ManagementClusterConnectionSpec) DeepCopyInto ¶ added in v1.2.0
func (in *ManagementClusterConnectionSpec) DeepCopyInto(out *ManagementClusterConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Manager ¶ added in v1.0.0
type Manager struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired state for the Calico Enterprise manager. Spec ManagerSpec `json:"spec,omitempty"` // Most recently observed state for the Calico Enterprise manager. Status ManagerStatus `json:"status,omitempty"` }
Manager installs the Calico Enterprise manager graphical user interface. At most one instance of this resource is supported. It must be named "tigera-secure". +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*Manager) DeepCopy ¶ added in v1.0.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Manager.
func (*Manager) DeepCopyInto ¶ added in v1.0.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Manager) DeepCopyObject ¶ added in v1.0.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagerList ¶ added in v1.0.0
type ManagerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Manager `json:"items"` }
ManagerList contains a list of Manager
func (*ManagerList) DeepCopy ¶ added in v1.0.0
func (in *ManagerList) DeepCopy() *ManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerList.
func (*ManagerList) DeepCopyInto ¶ added in v1.0.0
func (in *ManagerList) DeepCopyInto(out *ManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagerList) DeepCopyObject ¶ added in v1.0.0
func (in *ManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagerSpec ¶ added in v1.0.0
type ManagerSpec struct { // Auth defines the authentication strategy for the Calico Enterprise manager GUI. // +optional Auth *Auth `json:"auth,omitempty"` }
ManagerSpec defines configuration for the Calico Enterprise manager GUI. +k8s:openapi-gen=true
func (*ManagerSpec) DeepCopy ¶ added in v1.0.0
func (in *ManagerSpec) DeepCopy() *ManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSpec.
func (*ManagerSpec) DeepCopyInto ¶ added in v1.0.0
func (in *ManagerSpec) DeepCopyInto(out *ManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerStatus ¶ added in v1.0.0
type ManagerStatus struct { // The last successfully applied authentication configuration. // +optional Auth *Auth `json:"auth,omitempty"` }
ManagerStatus defines the observed state of the Calico Enterprise manager GUI. +k8s:openapi-gen=true
func (*ManagerStatus) DeepCopy ¶ added in v1.0.0
func (in *ManagerStatus) DeepCopy() *ManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerStatus.
func (*ManagerStatus) DeepCopyInto ¶ added in v1.0.0
func (in *ManagerStatus) DeepCopyInto(out *ManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiInterfaceMode ¶ added in v1.6.0
type MultiInterfaceMode string
const ( MultiInterfaceModeNone MultiInterfaceMode = "None" MultiInterfaceModeMultus MultiInterfaceMode = "Multus" )
func (MultiInterfaceMode) Value ¶ added in v1.6.0
func (m MultiInterfaceMode) Value() string
type NATOutgoingType ¶ added in v1.0.0
type NATOutgoingType string
NATOutgoingType describe the type of outgoing NAT to use.
const ( NATOutgoingEnabled NATOutgoingType = "Enabled" NATOutgoingDisabled NATOutgoingType = "Disabled" )
func (NATOutgoingType) String ¶ added in v1.0.0
func (nt NATOutgoingType) String() string
type NodeAddressAutodetection ¶ added in v1.1.0
type NodeAddressAutodetection struct { // FirstFound uses default interface matching parameters to select an interface, performing best-effort // filtering based on well-known interface names. // +optional FirstFound *bool `json:"firstFound,omitempty"` // Interface enables IP auto-detection based on interfaces that match the given regex. // +optional Interface string `json:"interface,omitempty"` // SkipInterface enables IP auto-detection based on interfaces that do not match // the given regex. // +optional SkipInterface string `json:"skipInterface,omitempty"` // CanReach enables IP auto-detection based on which source address on the node is used to reach the // specified IP or domain. // +optional CanReach string `json:"canReach,omitempty"` }
NodeAddressAutodetection provides configuration options for auto-detecting node addresses. At most one option can be used. If no detection option is specified, then IP auto detection will be disabled for this address family and IPs must be specified directly on the Node resource.
func (*NodeAddressAutodetection) DeepCopy ¶ added in v1.1.0
func (in *NodeAddressAutodetection) DeepCopy() *NodeAddressAutodetection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddressAutodetection.
func (*NodeAddressAutodetection) DeepCopyInto ¶ added in v1.1.0
func (in *NodeAddressAutodetection) DeepCopyInto(out *NodeAddressAutodetection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Nodes ¶ added in v1.0.0
type Nodes struct { // Count defines the number of nodes in the Elasticsearch cluster. Count int64 `json:"count,omitempty"` // ResourceRequirements defines the resource limits and requirements for the Elasticsearch cluster. // +optional ResourceRequirements *corev1.ResourceRequirements `json:"resourceRequirements,omitempty"` }
Nodes defines the configuration for a set of identical Elasticsearch cluster nodes, each of type master, data, and ingest.
func (*Nodes) DeepCopy ¶ added in v1.0.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodes.
func (*Nodes) DeepCopyInto ¶ added in v1.0.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProductVariant ¶
type ProductVariant string
ProductVariant represents the variant of the product. Valid options are: Calico, TigeraSecureEnterprise.
var ( Calico ProductVariant = "Calico" TigeraSecureEnterprise ProductVariant = "TigeraSecureEnterprise" )
type Provider ¶ added in v1.0.0
type Provider string
Provider represents a particular provider or flavor of Kubernetes. Valid options are: EKS, GKE, AKS, OpenShift, DockerEnterprise.
type Retention ¶ added in v1.0.0
type Retention struct { // Flows configures the retention period for flow logs, in days. Logs written on a day that started at least this long ago // are removed. To keep logs for at least x days, use a retention period of x+1. // Default: 8 // +optional Flows *int32 `json:"flows"` // AuditReports configures the retention period for audit logs, in days. Logs written on a day that started at least this long ago are // removed. To keep logs for at least x days, use a retention period of x+1. // Default: 367 // +optional AuditReports *int32 `json:"auditReports"` // Snapshots configures the retention period for snapshots, in days. Snapshots are periodic captures // of resources which along with audit events are used to generate reports. // Consult the Compliance Reporting documentation for more details on snapshots. // Logs written on a day that started at least this long ago are // removed. To keep logs for at least x days, use a retention period of x+1. // Default: 367 // +optional Snapshots *int32 `json:"snapshots"` // ComplianceReports configures the retention period for compliance reports, in days. Reports are output // from the analysis of the system state and audit events for compliance reporting. // Consult the Compliance Reporting documentation for more details on reports. // Logs written on a day that started at least this long ago are // removed. To keep logs for at least x days, use a retention period of x+1. // Default: 367 // +optional ComplianceReports *int32 `json:"complianceReports"` }
Retention defines how long data is retained in an Elasticsearch cluster before it is cleared.
func (*Retention) DeepCopy ¶ added in v1.0.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retention.
func (*Retention) DeepCopyInto ¶ added in v1.0.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3StoreSpec ¶ added in v1.0.0
type S3StoreSpec struct { // AWS Region of the S3 bucket Region string `json:"region"` // Name of the S3 bucket to send logs BucketName string `json:"bucketName"` // Path in the S3 bucket where to send logs BucketPath string `json:"bucketPath"` }
S3StoreSpec defines configuration for exporting logs to Amazon S3. +k8s:openapi-gen=true
func (*S3StoreSpec) DeepCopy ¶ added in v1.0.0
func (in *S3StoreSpec) DeepCopy() *S3StoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StoreSpec.
func (*S3StoreSpec) DeepCopyInto ¶ added in v1.0.0
func (in *S3StoreSpec) DeepCopyInto(out *S3StoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SplunkStoreSpec ¶ added in v1.4.0
type SplunkStoreSpec struct { // Location for splunk's http event collector end point. example https://1.2.3.4:8088 Endpoint string `json:"endpoint"` }
SplunkStoreSpec defines configuration for exporting logs to splunk.
func (*SplunkStoreSpec) DeepCopy ¶ added in v1.4.0
func (in *SplunkStoreSpec) DeepCopy() *SplunkStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SplunkStoreSpec.
func (*SplunkStoreSpec) DeepCopyInto ¶ added in v1.4.0
func (in *SplunkStoreSpec) DeepCopyInto(out *SplunkStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusConditionType ¶
type StatusConditionType string
StatusConditionType is a type of condition that may apply to a particular component.
const ( // Available indicates that the component is healthy. ComponentAvailable StatusConditionType = "Available" // Progressing means that the component is in the process of being installed or upgraded. ComponentProgressing StatusConditionType = "Progressing" // Degraded means the component is not operating as desired and user action is required. ComponentDegraded StatusConditionType = "Degraded" )
type SyslogStoreSpec ¶ added in v1.0.0
type SyslogStoreSpec struct { // Location of the syslog server. example: tcp://1.2.3.4:601 Endpoint string `json:"endpoint"` // PacketSize defines the maximum size of packets to send to syslog. // In general this is only needed if you notice long logs being truncated. // Default: 1024 // +optional PacketSize *int32 `json:"packetSize,omitempty"` }
SyslogStoreSpec defines configuration for exporting logs to syslog.
func (*SyslogStoreSpec) DeepCopy ¶ added in v1.0.0
func (in *SyslogStoreSpec) DeepCopy() *SyslogStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyslogStoreSpec.
func (*SyslogStoreSpec) DeepCopyInto ¶ added in v1.0.0
func (in *SyslogStoreSpec) DeepCopyInto(out *SyslogStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TigeraStatus ¶
type TigeraStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TigeraStatusSpec `json:"spec,omitempty"` Status TigeraStatusStatus `json:"status,omitempty"` }
TigeraStatus represents the most recently observed status for Calico or a Calico Enterprise functional area. +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="Available",type="string",JSONPath=".status.conditions[?(@.type=='Available')].status",description="Whether the component running and stable." +kubebuilder:printcolumn:name="Progressing",type="string",JSONPath=".status.conditions[?(@.type=='Progressing')].status",description="Whether the component is processing changes." +kubebuilder:printcolumn:name="Degraded",type="string",JSONPath=".status.conditions[?(@.type=='Degraded')].status",description="Whether the component is degraded." +kubebuilder:printcolumn:name="Since",type="date",JSONPath=".status.conditions[?(@.type=='Available')].lastTransitionTime",description="The time the component's Available status last changed."
func (*TigeraStatus) DeepCopy ¶
func (in *TigeraStatus) DeepCopy() *TigeraStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TigeraStatus.
func (*TigeraStatus) DeepCopyInto ¶
func (in *TigeraStatus) DeepCopyInto(out *TigeraStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TigeraStatus) DeepCopyObject ¶
func (in *TigeraStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TigeraStatusCondition ¶
type TigeraStatusCondition struct { // The type of condition. May be Available, Progressing, or Degraded. Type StatusConditionType `json:"type"` // The status of the condition. May be True, False, or Unknown. Status ConditionStatus `json:"status"` // The timestamp representing the start time for the current status. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // A brief reason explaining the condition. Reason string `json:"reason,omitempty"` // Optionally, a detailed message providing additional context. Message string `json:"message,omitempty"` }
TigeraStatusCondition represents a condition attached to a particular component. +k8s:deepcopy-gen=true
func (*TigeraStatusCondition) DeepCopy ¶
func (in *TigeraStatusCondition) DeepCopy() *TigeraStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TigeraStatusCondition.
func (*TigeraStatusCondition) DeepCopyInto ¶
func (in *TigeraStatusCondition) DeepCopyInto(out *TigeraStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TigeraStatusList ¶
type TigeraStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TigeraStatus `json:"items"` }
TigeraStatusList contains a list of TigeraStatus
func (*TigeraStatusList) DeepCopy ¶
func (in *TigeraStatusList) DeepCopy() *TigeraStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TigeraStatusList.
func (*TigeraStatusList) DeepCopyInto ¶
func (in *TigeraStatusList) DeepCopyInto(out *TigeraStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TigeraStatusList) DeepCopyObject ¶
func (in *TigeraStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TigeraStatusSpec ¶
type TigeraStatusSpec struct { }
+k8s:openapi-gen=true
func (*TigeraStatusSpec) DeepCopy ¶
func (in *TigeraStatusSpec) DeepCopy() *TigeraStatusSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TigeraStatusSpec.
func (*TigeraStatusSpec) DeepCopyInto ¶
func (in *TigeraStatusSpec) DeepCopyInto(out *TigeraStatusSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TigeraStatusStatus ¶
type TigeraStatusStatus struct { // Conditions represents the latest observed set of conditions for this component. A component may be one or more of // Available, Progressing, or Degraded. Conditions []TigeraStatusCondition `json:"conditions"` }
TigeraStatusStatus defines the observed state of TigeraStatus +k8s:openapi-gen=true
func (*TigeraStatusStatus) DeepCopy ¶
func (in *TigeraStatusStatus) DeepCopy() *TigeraStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TigeraStatusStatus.
func (*TigeraStatusStatus) DeepCopyInto ¶
func (in *TigeraStatusStatus) DeepCopyInto(out *TigeraStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.