Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the operator v1 API group +k8s:deepcopy-gen=package,register +groupName=operator.tigera.io
Package v1 contains API Schema definitions for the operator v1 API group +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 Auth
- type AuthType
- type CNISpec
- type Compliance
- type ComplianceList
- type ComplianceSpec
- type ComplianceStatus
- type ComponentsSpec
- type ConditionStatus
- type Console
- type ConsoleList
- type ConsoleSpec
- type ConsoleStatus
- type ElasticConfig
- type IPPool
- type Installation
- type InstallationList
- type InstallationSpec
- type InstallationStatus
- type IntrusionDetection
- type IntrusionDetectionList
- type IntrusionDetectionSpec
- type IntrusionDetectionStatus
- type KibanaConfig
- type KubeControllersSpec
- type MonitoringConfiguration
- type MonitoringConfigurationList
- type MonitoringConfigurationSpec
- type MonitoringConfigurationStatus
- type NodeSpec
- type ProductVariant
- type StatusConditionType
- type TigeraStatus
- type TigeraStatusCondition
- type TigeraStatusList
- type TigeraStatusSpec
- type TigeraStatusStatus
Constants ¶
const (
AuthTypeToken = "Token"
AuthTypeBasic = "Basic"
AuthTypeOIDC = "OIDC"
AuthTypeOAuth = "OAuth"
)
const (
APIServerStatusReady = "Ready"
)
const (
ComplianceStatusReady = "Ready"
)
const (
IntrusionDetectionStatusReady = "Ready"
)
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}
)
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
func RegisterDefaults(scheme *runtime.Scheme) error
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"`
Spec APIServerSpec `json:"spec,omitempty"`
Status APIServerStatus `json:"status,omitempty"`
}
APIServer is the Schema for the apiservers API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*APIServer) DeepCopy ¶
func (in *APIServer) DeepCopy() *APIServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
func (*APIServer) DeepCopyInto ¶
func (in *APIServer) DeepCopyInto(out *APIServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIServer) DeepCopyObject ¶
func (in *APIServer) DeepCopyObject() runtime.Object
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 APIServer +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 {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
State string `json:"state,omitempty"`
}
APIServerStatus defines the observed state of APIServer +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 Auth ¶
type Auth struct {
// Type configures the type of authentication used by the manager.
// Default: "Basic"
Type AuthType `json:"type,omitempty"`
// Authority configures the OAuth2/OIDC authority/issuer when using OAuth2 or OIDC login.
// Default: ""https://accounts.google.com"
// +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 ¶
func (in *Auth) DeepCopy() *Auth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
func (*Auth) DeepCopyInto ¶
func (in *Auth) DeepCopyInto(out *Auth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CNISpec ¶
type CNISpec struct {
// ExtraEnv adds extra environment variables to the CNI container.
// +optional
ExtraEnv []v1.EnvVar `json:"extraEnv,omitempty"`
// ExtraVolumes configures custom volumes to be used by the CNI container.
// +optional
ExtraVolumes []v1.Volume `json:"extraVolumes,omitempty"`
// ExtraVolumeMounts configures custom volume mounts to be used by the CNI container.
// +optional
ExtraVolumeMounts []v1.VolumeMount `json:"extraVolumeMounts,omitempty"`
}
CNISpec defines optional configuration for the CNI component. +k8s:openapi-gen=true
func (*CNISpec) DeepCopy ¶
func (in *CNISpec) DeepCopy() *CNISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNISpec.
func (*CNISpec) DeepCopyInto ¶
func (in *CNISpec) DeepCopyInto(out *CNISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Compliance ¶
type Compliance struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ComplianceSpec `json:"spec,omitempty"`
Status ComplianceStatus `json:"status,omitempty"`
}
Compliance is the Schema for the compliances API +k8s:openapi-gen=true +kubebuilder:subresource:status
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 Compliance +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 indicates the state of the deployment by the IntrusionDetection controller
State string `json:"state,omitempty"`
}
ComplianceStatus defines the observed state of Compliance +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 ComponentsSpec ¶
type ComponentsSpec struct {
// Node is optional configuration for the node component.
// +optional
Node NodeSpec `json:"node,omitempty"`
// CNI is optional configuration for the CNI component.
// +optional
CNI CNISpec `json:"cni,omitempty"`
// KubeControllers is optional configuration for the kube-controllers component.
// +optional
KubeControllers KubeControllersSpec `json:"kubeControllers,omitempty"`
}
ComponentsSpec defines the desired state of components. +k8s:openapi-gen=true
func (*ComponentsSpec) DeepCopy ¶
func (in *ComponentsSpec) DeepCopy() *ComponentsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentsSpec.
func (*ComponentsSpec) DeepCopyInto ¶
func (in *ComponentsSpec) DeepCopyInto(out *ComponentsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
const (
ConditionTrue ConditionStatus = "True"
ConditionFalse ConditionStatus = "False"
ConditionUnknown ConditionStatus = "Unknown"
)
type Console ¶
type Console struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ConsoleSpec `json:"spec,omitempty"`
Status ConsoleStatus `json:"status,omitempty"`
}
Console is the Schema for the consoles API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Console) DeepCopy ¶
func (in *Console) DeepCopy() *Console
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Console.
func (*Console) DeepCopyInto ¶
func (in *Console) DeepCopyInto(out *Console)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Console) DeepCopyObject ¶
func (in *Console) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConsoleList ¶
type ConsoleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Console `json:"items"`
}
ConsoleList contains a list of Console
func (*ConsoleList) DeepCopy ¶
func (in *ConsoleList) DeepCopy() *ConsoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleList.
func (*ConsoleList) DeepCopyInto ¶
func (in *ConsoleList) DeepCopyInto(out *ConsoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConsoleList) DeepCopyObject ¶
func (in *ConsoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConsoleSpec ¶
type ConsoleSpec struct {
// Auth is optional authentication configuration for the Tigera Secure management console.
// +optional
Auth *Auth `json:"auth,omitempty"`
}
ConsoleSpec defines optional configuration for the Tigera Secure management console. Valid only for the variant 'TigeraSecureEnterprise'. +k8s:openapi-gen=true
func (*ConsoleSpec) DeepCopy ¶
func (in *ConsoleSpec) DeepCopy() *ConsoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleSpec.
func (*ConsoleSpec) DeepCopyInto ¶
func (in *ConsoleSpec) DeepCopyInto(out *ConsoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsoleStatus ¶
type ConsoleStatus struct {
Auth *Auth `json:"auth,omitempty"`
}
ConsoleStatus defines the observed state of Console +k8s:openapi-gen=true
func (*ConsoleStatus) DeepCopy ¶
func (in *ConsoleStatus) DeepCopy() *ConsoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleStatus.
func (*ConsoleStatus) DeepCopyInto ¶
func (in *ConsoleStatus) DeepCopyInto(out *ConsoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticConfig ¶
type ElasticConfig struct {
Endpoint string `json:"endpoint"`
}
func (*ElasticConfig) DeepCopy ¶
func (in *ElasticConfig) DeepCopy() *ElasticConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticConfig.
func (*ElasticConfig) DeepCopyInto ¶
func (in *ElasticConfig) DeepCopyInto(out *ElasticConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPPool ¶
type IPPool struct {
CIDR string `json:"cidr"`
}
func (*IPPool) DeepCopy ¶
func (in *IPPool) DeepCopy() *IPPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPool.
func (*IPPool) DeepCopyInto ¶
func (in *IPPool) DeepCopyInto(out *IPPool)
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"`
Spec InstallationSpec `json:"spec,omitempty"`
Status InstallationStatus `json:"status,omitempty"`
}
Installation is the Schema for the cores API +k8s:openapi-gen=true +kubebuilder:subresource:status
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
Variant ProductVariant `json:"variant,omitempty"`
// Registry is the default Docker registry used for component Docker images.
// Default: docker.io/
// +optional
Registry string `json:"registry,omitempty"`
// ImagePullSecrets is an array of references to Docker registry pull secrets.
// +optional
ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
// IPPools contains a list of IP pools to use for allocating pod IP addresses. For now,
// a maximum of one IP pool is supported.
// Default: 192.168.0.0/16.
// +optional
IPPools []IPPool `json:"ipPools,omitempty"`
// CNINetDir configures the path on the host where CNI network configuration files will be installed.
// Default: /etc/cni/net.d
// +optional
CNINetDir string `json:"cniNetDir,omitempty"`
// CNIBinDir configures the path on the host where CNI binaries will be installed.
// Default: /opt/cni/bin
// +optional
CNIBinDir string `json:"cniBinDir,omitempty"`
// Components specifies the configuration of components.
// +optional
Components ComponentsSpec `json:"components,omitempty"`
}
InstallationSpec defines the desired state of 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 installed product - one of Calico or TigeraSecureEnterprise
Variant ProductVariant `json:"variant,omitempty"`
}
InstallationStatus defines the observed state of 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"`
Spec IntrusionDetectionSpec `json:"spec,omitempty"`
Status IntrusionDetectionStatus `json:"status,omitempty"`
}
IntrusionDetection is the Schema for the intrusiondetections API +k8s:openapi-gen=true +kubebuilder:subresource:status
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 IntrusionDetection +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 indicates the state of the deployment by the IntrusionDetection controller
State string `json:"state,omitempty"`
}
IntrusionDetectionStatus defines the observed state of IntrusionDetection +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 KibanaConfig ¶
type KibanaConfig struct {
Endpoint string `json:"endpoint"`
}
func (*KibanaConfig) DeepCopy ¶
func (in *KibanaConfig) DeepCopy() *KibanaConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaConfig.
func (*KibanaConfig) DeepCopyInto ¶
func (in *KibanaConfig) DeepCopyInto(out *KibanaConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeControllersSpec ¶
type KubeControllersSpec struct {
// ExtraEnv adds extra environment variables to the kube-controllers container.
// +optional
ExtraEnv []v1.EnvVar `json:"extraEnv,omitempty"`
// ExtraVolumes configures custom volumes to be used by the kube-controllers container.
// +optional
ExtraVolumes []v1.Volume `json:"extraVolumes,omitempty"`
// ExtraVolumeMounts configures custom volume mounts to be used by the kube-controllers container.
// +optional
ExtraVolumeMounts []v1.VolumeMount `json:"extraVolumeMounts,omitempty"`
// Tolerations configures custom tolerations on the kube-controllers deployment.
// +optional
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
// Resources configures custom resource requirements on the kube-controllers container.
// +optional
Resources v1.ResourceRequirements `json:"resources,omitempty"`
}
KubeControllersSpec defines optional configuration for the kube-controllers component. +k8s:openapi-gen=true
func (*KubeControllersSpec) DeepCopy ¶
func (in *KubeControllersSpec) DeepCopy() *KubeControllersSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllersSpec.
func (*KubeControllersSpec) DeepCopyInto ¶
func (in *KubeControllersSpec) DeepCopyInto(out *KubeControllersSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringConfiguration ¶
type MonitoringConfiguration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MonitoringConfigurationSpec `json:"spec,omitempty"`
Status MonitoringConfigurationStatus `json:"status,omitempty"`
}
MonitoringConfiguration is the Schema for the monitoringconfigurations API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*MonitoringConfiguration) DeepCopy ¶
func (in *MonitoringConfiguration) DeepCopy() *MonitoringConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfiguration.
func (*MonitoringConfiguration) DeepCopyInto ¶
func (in *MonitoringConfiguration) DeepCopyInto(out *MonitoringConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringConfiguration) DeepCopyObject ¶
func (in *MonitoringConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringConfigurationList ¶
type MonitoringConfigurationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MonitoringConfiguration `json:"items"`
}
MonitoringConfigurationList contains a list of MonitoringConfiguration
func (*MonitoringConfigurationList) DeepCopy ¶
func (in *MonitoringConfigurationList) DeepCopy() *MonitoringConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfigurationList.
func (*MonitoringConfigurationList) DeepCopyInto ¶
func (in *MonitoringConfigurationList) DeepCopyInto(out *MonitoringConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringConfigurationList) DeepCopyObject ¶
func (in *MonitoringConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringConfigurationSpec ¶
type MonitoringConfigurationSpec struct {
ClusterName string `json:"clusterName,omitempty"`
Elasticsearch *ElasticConfig `json:"elasticsearch,omitempty"`
Kibana *KibanaConfig `json:"kibana,omitempty"`
}
MonitoringConfigurationSpec defines the desired state of MonitoringConfiguration +k8s:openapi-gen=true
func (*MonitoringConfigurationSpec) DeepCopy ¶
func (in *MonitoringConfigurationSpec) DeepCopy() *MonitoringConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfigurationSpec.
func (*MonitoringConfigurationSpec) DeepCopyInto ¶
func (in *MonitoringConfigurationSpec) DeepCopyInto(out *MonitoringConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringConfigurationStatus ¶
type MonitoringConfigurationStatus struct {
}
MonitoringConfigurationStatus defines the observed state of MonitoringConfiguration +k8s:openapi-gen=true
func (*MonitoringConfigurationStatus) DeepCopy ¶
func (in *MonitoringConfigurationStatus) DeepCopy() *MonitoringConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringConfigurationStatus.
func (*MonitoringConfigurationStatus) DeepCopyInto ¶
func (in *MonitoringConfigurationStatus) DeepCopyInto(out *MonitoringConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSpec ¶
type NodeSpec struct {
// MaxUnavailable configures the maximum number of pods that can be unavailable during a rolling update of the
// node daemonset.
// Default: 1
// +optional
MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
// ExtraEnv adds extra environment variables to the node container.
// +optional
ExtraEnv []v1.EnvVar `json:"extraEnv,omitempty"`
// ExtraVolumes configures custom volumes to be used by the node daemonset.
// +optional
ExtraVolumes []v1.Volume `json:"extraVolumes,omitempty"`
// ExtraVolumeMounts configures custom volume mounts to be used by the node container.
// +optional
ExtraVolumeMounts []v1.VolumeMount `json:"extraVolumeMounts,omitempty"`
// Tolerations configures custom tolerations on the node daemonset.
// +optional
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
// Resources configures custom resource requirements on the node container.
// +optional
Resources v1.ResourceRequirements `json:"resources,omitempty"`
}
NodeSpec defines optional configuration for the node component. +k8s:openapi-gen=true
func (*NodeSpec) DeepCopy ¶
func (in *NodeSpec) DeepCopy() *NodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
func (*NodeSpec) DeepCopyInto ¶
func (in *NodeSpec) DeepCopyInto(out *NodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProductVariant ¶
type ProductVariant string
var (
Calico ProductVariant = "Calico"
TigeraSecureEnterprise ProductVariant = "TigeraSecureEnterprise"
)
type StatusConditionType ¶
type StatusConditionType string
StatusConditionType is a type of operator status.
const (
// Available indicates that the installed 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 TigeraStatus ¶
type TigeraStatus struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TigeraStatusSpec `json:"spec,omitempty"`
Status TigeraStatusStatus `json:"status,omitempty"`
}
TigeraStatus is the Schema for the tigerastatuses API +k8s:openapi-gen=true +kubebuilder:subresource:status
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 {
Type StatusConditionType `json:"type"`
Status ConditionStatus `json:"status"`
LastTransitionTime metav1.Time `json:"lastTransitionTime"`
Reason string `json:"reason,omitempty"`
Message string `json:"message,omitempty"`
}
+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 []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.