Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the operator v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=operator.tigera.io
API Schema v1beta1 definitions for configuring the installation of Calico and Calico Enterprise +k8s:deepcopy-gen=package,register +groupName=operator.tigera.io
Index ¶
Constants ¶
const (
AmazonCloudIntegrationStatusReady = "Ready"
)
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operator.tigera.io", Version: "v1beta1"} // 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
Types ¶
type AmazonCloudIntegration ¶
type AmazonCloudIntegration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AmazonCloudIntegrationSpec `json:"spec,omitempty"`
Status AmazonCloudIntegrationStatus `json:"status,omitempty"`
}
AmazonCloudIntegration is the Schema for the amazoncloudintegrations API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
func (*AmazonCloudIntegration) DeepCopy ¶
func (in *AmazonCloudIntegration) DeepCopy() *AmazonCloudIntegration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudIntegration.
func (*AmazonCloudIntegration) DeepCopyInto ¶
func (in *AmazonCloudIntegration) DeepCopyInto(out *AmazonCloudIntegration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AmazonCloudIntegration) DeepCopyObject ¶
func (in *AmazonCloudIntegration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AmazonCloudIntegrationList ¶
type AmazonCloudIntegrationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AmazonCloudIntegration `json:"items"`
}
AmazonCloudIntegrationList contains a list of AmazonCloudIntegration
func (*AmazonCloudIntegrationList) DeepCopy ¶
func (in *AmazonCloudIntegrationList) DeepCopy() *AmazonCloudIntegrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudIntegrationList.
func (*AmazonCloudIntegrationList) DeepCopyInto ¶
func (in *AmazonCloudIntegrationList) DeepCopyInto(out *AmazonCloudIntegrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AmazonCloudIntegrationList) DeepCopyObject ¶
func (in *AmazonCloudIntegrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AmazonCloudIntegrationSpec ¶
type AmazonCloudIntegrationSpec struct {
// DefaultPodMetadataAccess defines what the default behavior will be for accessing
// the AWS metadata service from a pod.
// Default: Denied
// +optional
// +kubebuilder:validation:Enum=Allowed;Denied
DefaultPodMetadataAccess MetadataAccessAllowedType `json:"defaultPodMetadataAccess,omitempty"`
// NodeSecurityGroupIDs is a list of Security Group IDs that all nodes and masters
// will be in.
NodeSecurityGroupIDs []string `json:"nodeSecurityGroupIDs,omitempty"`
// PodSecurityGroupID is the ID of the Security Group which all pods should be placed
// in by default.
PodSecurityGroupID string `json:"podSecurityGroupID,omitempty"`
// VPCS is a list of VPC IDs to monitor for ENIs and Security Groups, only one is supported.
VPCS []string `json:"vpcs,omitempty"`
// SQSURL is the SQS URL needed to access the Simple Queue Service.
SQSURL string `json:"sqsURL,omitempty"`
// AWSRegion is the region in which your cluster is located.
AWSRegion string `json:"awsRegion,omitempty"`
// EnforcedSecurityGroupID is the ID of the Security Group which will be applied to all
// ENIs that are on a host that is also part of the Kubernetes cluster.
EnforcedSecurityGroupID string `json:"enforcedSecurityGroupID,omitempty"`
// TrustEnforcedSecurityGroupID is the ID of the Security Group which will be applied
// to all ENIs in the VPC.
TrustEnforcedSecurityGroupID string `json:"trustEnforcedSecurityGroupID,omitemtpy"`
}
AmazonCloudIntegrationSpec defines the desired state of AmazonCloudIntegration +k8s:openapi-gen=true
func (*AmazonCloudIntegrationSpec) DeepCopy ¶
func (in *AmazonCloudIntegrationSpec) DeepCopy() *AmazonCloudIntegrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudIntegrationSpec.
func (*AmazonCloudIntegrationSpec) DeepCopyInto ¶
func (in *AmazonCloudIntegrationSpec) DeepCopyInto(out *AmazonCloudIntegrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AmazonCloudIntegrationStatus ¶
type AmazonCloudIntegrationStatus struct {
// State provides user-readable status.
State string `json:"state,omitempty"`
}
AmazonCloudIntegrationStatus defines the observed state of AmazonCloudIntegration +k8s:openapi-gen=true
func (*AmazonCloudIntegrationStatus) DeepCopy ¶
func (in *AmazonCloudIntegrationStatus) DeepCopy() *AmazonCloudIntegrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudIntegrationStatus.
func (*AmazonCloudIntegrationStatus) DeepCopyInto ¶
func (in *AmazonCloudIntegrationStatus) DeepCopyInto(out *AmazonCloudIntegrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataAccessAllowedType ¶
type MetadataAccessAllowedType string
MetadataAccessAllowedType
const ( MetadataAccessAllowed MetadataAccessAllowedType = "Allowed" MetadataAccessDenied MetadataAccessAllowedType = "Denied" )