v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=multi.rancher.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "multi.rancher.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ClusterApp_Kind             = "ClusterApp"
	ClusterApp_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterApp_Kind}.String()
	ClusterApp_KindAPIVersion   = ClusterApp_Kind + "." + CRDGroupVersion.String()
	ClusterApp_GroupVersionKind = CRDGroupVersion.WithKind(ClusterApp_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 AnswersObservation

type AnswersObservation struct {
}

func (*AnswersObservation) DeepCopy

func (in *AnswersObservation) DeepCopy() *AnswersObservation

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

func (*AnswersObservation) DeepCopyInto

func (in *AnswersObservation) DeepCopyInto(out *AnswersObservation)

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

type AnswersParameters

type AnswersParameters struct {

	// Cluster ID for answer
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Project ID for answer
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Key/values for answer
	// +kubebuilder:validation:Optional
	Values map[string]string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*AnswersParameters) DeepCopy

func (in *AnswersParameters) DeepCopy() *AnswersParameters

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

func (*AnswersParameters) DeepCopyInto

func (in *AnswersParameters) DeepCopyInto(out *AnswersParameters)

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

type ClusterApp

type ClusterApp struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterAppSpec   `json:"spec"`
	Status            ClusterAppStatus `json:"status,omitempty"`
}

ClusterApp is the Schema for the ClusterApps API +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,rancherjet}

func (*ClusterApp) DeepCopy

func (in *ClusterApp) DeepCopy() *ClusterApp

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

func (*ClusterApp) DeepCopyInto

func (in *ClusterApp) DeepCopyInto(out *ClusterApp)

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

func (*ClusterApp) DeepCopyObject

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

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

func (*ClusterApp) GetCondition

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

GetCondition of this ClusterApp.

func (*ClusterApp) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterApp

func (*ClusterApp) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterApp.

func (*ClusterApp) GetID

func (tr *ClusterApp) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterApp

func (*ClusterApp) GetObservation

func (tr *ClusterApp) GetObservation() (map[string]interface{}, error)

GetObservation of this ClusterApp

func (*ClusterApp) GetParameters

func (tr *ClusterApp) GetParameters() (map[string]interface{}, error)

GetParameters of this ClusterApp

func (*ClusterApp) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterApp.

func (*ClusterApp) GetProviderReference

func (mg *ClusterApp) GetProviderReference() *xpv1.Reference

GetProviderReference of this ClusterApp. Deprecated: Use GetProviderConfigReference.

func (*ClusterApp) GetTerraformResourceType

func (mg *ClusterApp) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterApp

func (*ClusterApp) GetTerraformSchemaVersion

func (tr *ClusterApp) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterApp) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterApp.

func (*ClusterApp) LateInitialize

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

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

func (*ClusterApp) SetConditions

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

SetConditions of this ClusterApp.

func (*ClusterApp) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterApp.

func (*ClusterApp) SetObservation

func (tr *ClusterApp) SetObservation(obs map[string]interface{}) error

SetObservation for this ClusterApp

func (*ClusterApp) SetParameters

func (tr *ClusterApp) SetParameters(params map[string]interface{}) error

SetParameters for this ClusterApp

func (*ClusterApp) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterApp.

func (*ClusterApp) SetProviderReference

func (mg *ClusterApp) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ClusterApp. Deprecated: Use SetProviderConfigReference.

func (*ClusterApp) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterApp.

type ClusterAppList

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

ClusterAppList contains a list of ClusterApps

func (*ClusterAppList) DeepCopy

func (in *ClusterAppList) DeepCopy() *ClusterAppList

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

func (*ClusterAppList) DeepCopyInto

func (in *ClusterAppList) DeepCopyInto(out *ClusterAppList)

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

func (*ClusterAppList) DeepCopyObject

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

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

func (*ClusterAppList) GetItems

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

GetItems of this ClusterAppList.

type ClusterAppObservation

type ClusterAppObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	TemplateVersionID *string `json:"templateVersionId,omitempty" tf:"template_version_id,omitempty"`
}

func (*ClusterAppObservation) DeepCopy

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

func (*ClusterAppObservation) DeepCopyInto

func (in *ClusterAppObservation) DeepCopyInto(out *ClusterAppObservation)

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

type ClusterAppParameters

type ClusterAppParameters struct {

	// Annotations of the resource
	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// Multi cluster app answers
	// +kubebuilder:validation:Optional
	Answers []AnswersParameters `json:"answers,omitempty" tf:"answers,omitempty"`

	// Multi cluster app catalog name
	// +kubebuilder:validation:Required
	CatalogName *string `json:"catalogName" tf:"catalog_name,omitempty"`

	// Labels of the resource
	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Multi cluster app members
	// +kubebuilder:validation:Optional
	Members []MembersParameters `json:"members,omitempty" tf:"members,omitempty"`

	// Multi cluster app revision history limit
	// +kubebuilder:validation:Optional
	RevisionHistoryLimit *int64 `json:"revisionHistoryLimit,omitempty" tf:"revision_history_limit,omitempty"`

	// Multi cluster app revision name
	// +kubebuilder:validation:Optional
	RevisionID *string `json:"revisionId,omitempty" tf:"revision_id,omitempty"`

	// Multi cluster app roles
	// +kubebuilder:validation:Required
	Roles []*string `json:"roles" tf:"roles,omitempty"`

	// Multi cluster app targets
	// +kubebuilder:validation:Required
	Targets []TargetsParameters `json:"targets" tf:"targets,omitempty"`

	// Multi cluster app template name
	// +kubebuilder:validation:Required
	TemplateName *string `json:"templateName" tf:"template_name,omitempty"`

	// Multi cluster app template version
	// +kubebuilder:validation:Optional
	TemplateVersion *string `json:"templateVersion,omitempty" tf:"template_version,omitempty"`

	// Multi cluster app upgrade strategy
	// +kubebuilder:validation:Optional
	UpgradeStrategy []UpgradeStrategyParameters `json:"upgradeStrategy,omitempty" tf:"upgrade_strategy,omitempty"`

	// Wait until multi cluster app is active
	// +kubebuilder:validation:Optional
	Wait *bool `json:"wait,omitempty" tf:"wait,omitempty"`
}

func (*ClusterAppParameters) DeepCopy

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

func (*ClusterAppParameters) DeepCopyInto

func (in *ClusterAppParameters) DeepCopyInto(out *ClusterAppParameters)

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

type ClusterAppSpec

type ClusterAppSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterAppParameters `json:"forProvider"`
}

ClusterAppSpec defines the desired state of ClusterApp

func (*ClusterAppSpec) DeepCopy

func (in *ClusterAppSpec) DeepCopy() *ClusterAppSpec

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

func (*ClusterAppSpec) DeepCopyInto

func (in *ClusterAppSpec) DeepCopyInto(out *ClusterAppSpec)

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

type ClusterAppStatus

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

ClusterAppStatus defines the observed state of ClusterApp.

func (*ClusterAppStatus) DeepCopy

func (in *ClusterAppStatus) DeepCopy() *ClusterAppStatus

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

func (*ClusterAppStatus) DeepCopyInto

func (in *ClusterAppStatus) DeepCopyInto(out *ClusterAppStatus)

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

type MembersObservation

type MembersObservation struct {
}

func (*MembersObservation) DeepCopy

func (in *MembersObservation) DeepCopy() *MembersObservation

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

func (*MembersObservation) DeepCopyInto

func (in *MembersObservation) DeepCopyInto(out *MembersObservation)

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

type MembersParameters

type MembersParameters struct {

	// Member access type: member, owner, read-only
	// +kubebuilder:validation:Optional
	AccessType *string `json:"accessType,omitempty" tf:"access_type,omitempty"`

	// Member group principal id
	// +kubebuilder:validation:Optional
	GroupPrincipalID *string `json:"groupPrincipalId,omitempty" tf:"group_principal_id,omitempty"`

	// Member user principal id
	// +kubebuilder:validation:Optional
	UserPrincipalID *string `json:"userPrincipalId,omitempty" tf:"user_principal_id,omitempty"`
}

func (*MembersParameters) DeepCopy

func (in *MembersParameters) DeepCopy() *MembersParameters

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

func (*MembersParameters) DeepCopyInto

func (in *MembersParameters) DeepCopyInto(out *MembersParameters)

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

type RollingUpdateObservation

type RollingUpdateObservation struct {
}

func (*RollingUpdateObservation) DeepCopy

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

func (*RollingUpdateObservation) DeepCopyInto

func (in *RollingUpdateObservation) DeepCopyInto(out *RollingUpdateObservation)

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

type RollingUpdateParameters

type RollingUpdateParameters struct {

	// Rolling update batch size
	// +kubebuilder:validation:Optional
	BatchSize *int64 `json:"batchSize,omitempty" tf:"batch_size,omitempty"`

	// Rolling update interval
	// +kubebuilder:validation:Optional
	Interval *int64 `json:"interval,omitempty" tf:"interval,omitempty"`
}

func (*RollingUpdateParameters) DeepCopy

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

func (*RollingUpdateParameters) DeepCopyInto

func (in *RollingUpdateParameters) DeepCopyInto(out *RollingUpdateParameters)

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

type TargetsObservation

type TargetsObservation struct {
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	HealthState *string `json:"healthState,omitempty" tf:"health_state,omitempty"`

	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*TargetsObservation) DeepCopy

func (in *TargetsObservation) DeepCopy() *TargetsObservation

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

func (*TargetsObservation) DeepCopyInto

func (in *TargetsObservation) DeepCopyInto(out *TargetsObservation)

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

type TargetsParameters

type TargetsParameters struct {

	// Project ID for target
	// +kubebuilder:validation:Required
	ProjectID *string `json:"projectId" tf:"project_id,omitempty"`
}

func (*TargetsParameters) DeepCopy

func (in *TargetsParameters) DeepCopy() *TargetsParameters

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

func (*TargetsParameters) DeepCopyInto

func (in *TargetsParameters) DeepCopyInto(out *TargetsParameters)

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

type UpgradeStrategyObservation

type UpgradeStrategyObservation struct {
}

func (*UpgradeStrategyObservation) DeepCopy

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

func (*UpgradeStrategyObservation) DeepCopyInto

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

type UpgradeStrategyParameters

type UpgradeStrategyParameters struct {

	// Rolling update for upgrade strategy
	// +kubebuilder:validation:Optional
	RollingUpdate []RollingUpdateParameters `json:"rollingUpdate,omitempty" tf:"rolling_update,omitempty"`
}

func (*UpgradeStrategyParameters) DeepCopy

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

func (*UpgradeStrategyParameters) DeepCopyInto

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