v1alpha1

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=core.cilium.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "core.cilium.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CiliumDeployment_Kind             = "CiliumDeployment"
	CiliumDeployment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CiliumDeployment_Kind}.String()
	CiliumDeployment_KindAPIVersion   = CiliumDeployment_Kind + "." + CRDGroupVersion.String()
	CiliumDeployment_GroupVersionKind = CRDGroupVersion.WithKind(CiliumDeployment_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type CiliumDeployment

type CiliumDeployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CiliumDeploymentSpec   `json:"spec"`
	Status            CiliumDeploymentStatus `json:"status,omitempty"`
}

CiliumDeployment is the Schema for the CiliumDeployments API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cilium}

func (*CiliumDeployment) DeepCopy

func (in *CiliumDeployment) DeepCopy() *CiliumDeployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumDeployment.

func (*CiliumDeployment) DeepCopyInto

func (in *CiliumDeployment) DeepCopyInto(out *CiliumDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CiliumDeployment) DeepCopyObject

func (in *CiliumDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CiliumDeployment) GetCondition

func (mg *CiliumDeployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CiliumDeployment.

func (*CiliumDeployment) GetConnectionDetailsMapping

func (tr *CiliumDeployment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CiliumDeployment

func (*CiliumDeployment) GetDeletionPolicy

func (mg *CiliumDeployment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CiliumDeployment.

func (*CiliumDeployment) GetID

func (tr *CiliumDeployment) GetID() string

GetID returns ID of underlying Terraform resource of this CiliumDeployment

func (*CiliumDeployment) GetInitParameters

func (tr *CiliumDeployment) GetInitParameters() (map[string]any, error)

GetInitParameters of this CiliumDeployment

func (*CiliumDeployment) GetManagementPolicies

func (mg *CiliumDeployment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CiliumDeployment.

func (*CiliumDeployment) GetObservation

func (tr *CiliumDeployment) GetObservation() (map[string]any, error)

GetObservation of this CiliumDeployment

func (*CiliumDeployment) GetParameters

func (tr *CiliumDeployment) GetParameters() (map[string]any, error)

GetParameters of this CiliumDeployment

func (*CiliumDeployment) GetProviderConfigReference

func (mg *CiliumDeployment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CiliumDeployment.

func (*CiliumDeployment) GetPublishConnectionDetailsTo

func (mg *CiliumDeployment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CiliumDeployment.

func (*CiliumDeployment) GetTerraformResourceType

func (mg *CiliumDeployment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CiliumDeployment

func (*CiliumDeployment) GetTerraformSchemaVersion

func (tr *CiliumDeployment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CiliumDeployment) GetWriteConnectionSecretToReference

func (mg *CiliumDeployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CiliumDeployment.

func (*CiliumDeployment) LateInitialize

func (tr *CiliumDeployment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CiliumDeployment using its observed tfState. returns True if there are any spec changes for the resource.

func (*CiliumDeployment) SetConditions

func (mg *CiliumDeployment) SetConditions(c ...xpv1.Condition)

SetConditions of this CiliumDeployment.

func (*CiliumDeployment) SetDeletionPolicy

func (mg *CiliumDeployment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CiliumDeployment.

func (*CiliumDeployment) SetManagementPolicies

func (mg *CiliumDeployment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CiliumDeployment.

func (*CiliumDeployment) SetObservation

func (tr *CiliumDeployment) SetObservation(obs map[string]any) error

SetObservation for this CiliumDeployment

func (*CiliumDeployment) SetParameters

func (tr *CiliumDeployment) SetParameters(params map[string]any) error

SetParameters for this CiliumDeployment

func (*CiliumDeployment) SetProviderConfigReference

func (mg *CiliumDeployment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CiliumDeployment.

func (*CiliumDeployment) SetPublishConnectionDetailsTo

func (mg *CiliumDeployment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CiliumDeployment.

func (*CiliumDeployment) SetWriteConnectionSecretToReference

func (mg *CiliumDeployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CiliumDeployment.

type CiliumDeploymentInitParameters

type CiliumDeploymentInitParameters struct {

	// Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: `autodetected`).
	DataPath *string `json:"dataPath,omitempty" tf:"data_path,omitempty"`

	// Helm chart repository to download Cilium charts from (Default: `https://helm.cilium.io`).
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// When upgrading, reset the helm values to the ones built into the chart (Default: `false`).
	Reset *bool `json:"reset,omitempty" tf:"reset,omitempty"`

	// When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues (Default: `true`).
	Reuse *bool `json:"reuse,omitempty" tf:"reuse,omitempty"`

	// Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: `[]`).
	Set []*string `json:"set,omitempty" tf:"set,omitempty"`

	// values in raw yaml to pass to helm. (Default: `empty`).
	Values *string `json:"values,omitempty" tf:"values,omitempty"`

	// Version of Cilium (Default: `v1.15.4`).
	Version *string `json:"version,omitempty" tf:"version,omitempty"`

	// Wait for Cilium status is ok (Default: `true`).
	Wait *bool `json:"wait,omitempty" tf:"wait,omitempty"`
}

func (*CiliumDeploymentInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumDeploymentInitParameters.

func (*CiliumDeploymentInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CiliumDeploymentList

type CiliumDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CiliumDeployment `json:"items"`
}

CiliumDeploymentList contains a list of CiliumDeployments

func (*CiliumDeploymentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumDeploymentList.

func (*CiliumDeploymentList) DeepCopyInto

func (in *CiliumDeploymentList) DeepCopyInto(out *CiliumDeploymentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CiliumDeploymentList) DeepCopyObject

func (in *CiliumDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CiliumDeploymentList) GetItems

func (l *CiliumDeploymentList) GetItems() []resource.Managed

GetItems of this CiliumDeploymentList.

type CiliumDeploymentObservation

type CiliumDeploymentObservation struct {

	// Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: `autodetected`).
	DataPath *string `json:"dataPath,omitempty" tf:"data_path,omitempty"`

	// Helm values (`helm get values -n kube-system cilium`)
	HelmValues *string `json:"helmValues,omitempty" tf:"helm_values,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Helm chart repository to download Cilium charts from (Default: `https://helm.cilium.io`).
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// When upgrading, reset the helm values to the ones built into the chart (Default: `false`).
	Reset *bool `json:"reset,omitempty" tf:"reset,omitempty"`

	// When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues (Default: `true`).
	Reuse *bool `json:"reuse,omitempty" tf:"reuse,omitempty"`

	// Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: `[]`).
	Set []*string `json:"set,omitempty" tf:"set,omitempty"`

	// values in raw yaml to pass to helm. (Default: `empty`).
	Values *string `json:"values,omitempty" tf:"values,omitempty"`

	// Version of Cilium (Default: `v1.15.4`).
	Version *string `json:"version,omitempty" tf:"version,omitempty"`

	// Wait for Cilium status is ok (Default: `true`).
	Wait *bool `json:"wait,omitempty" tf:"wait,omitempty"`
}

func (*CiliumDeploymentObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumDeploymentObservation.

func (*CiliumDeploymentObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CiliumDeploymentParameters

type CiliumDeploymentParameters struct {

	// Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: `autodetected`).
	// +kubebuilder:validation:Optional
	DataPath *string `json:"dataPath,omitempty" tf:"data_path,omitempty"`

	// Helm chart repository to download Cilium charts from (Default: `https://helm.cilium.io`).
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// When upgrading, reset the helm values to the ones built into the chart (Default: `false`).
	// +kubebuilder:validation:Optional
	Reset *bool `json:"reset,omitempty" tf:"reset,omitempty"`

	// When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues (Default: `true`).
	// +kubebuilder:validation:Optional
	Reuse *bool `json:"reuse,omitempty" tf:"reuse,omitempty"`

	// Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: `[]`).
	// +kubebuilder:validation:Optional
	Set []*string `json:"set,omitempty" tf:"set,omitempty"`

	// values in raw yaml to pass to helm. (Default: `empty`).
	// +kubebuilder:validation:Optional
	Values *string `json:"values,omitempty" tf:"values,omitempty"`

	// Version of Cilium (Default: `v1.15.4`).
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`

	// Wait for Cilium status is ok (Default: `true`).
	// +kubebuilder:validation:Optional
	Wait *bool `json:"wait,omitempty" tf:"wait,omitempty"`
}

func (*CiliumDeploymentParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumDeploymentParameters.

func (*CiliumDeploymentParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CiliumDeploymentSpec

type CiliumDeploymentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CiliumDeploymentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider CiliumDeploymentInitParameters `json:"initProvider,omitempty"`
}

CiliumDeploymentSpec defines the desired state of CiliumDeployment

func (*CiliumDeploymentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumDeploymentSpec.

func (*CiliumDeploymentSpec) DeepCopyInto

func (in *CiliumDeploymentSpec) DeepCopyInto(out *CiliumDeploymentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CiliumDeploymentStatus

type CiliumDeploymentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CiliumDeploymentObservation `json:"atProvider,omitempty"`
}

CiliumDeploymentStatus defines the observed state of CiliumDeployment.

func (*CiliumDeploymentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumDeploymentStatus.

func (*CiliumDeploymentStatus) DeepCopyInto

func (in *CiliumDeploymentStatus) DeepCopyInto(out *CiliumDeploymentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL