v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=app.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: app.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type App

type App struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AppSpec   `json:"spec,omitempty"`
	Status            AppStatus `json:"status,omitempty"`
}

func (*App) DeepCopy

func (in *App) DeepCopy() *App

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

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

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

func (*App) DeepCopyObject

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

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

func (*App) SetupWebhookWithManager

func (r *App) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*App) ValidateCreate

func (r *App) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*App) ValidateDelete

func (r *App) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*App) ValidateUpdate

func (r *App) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AppList

type AppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of App CRD objects
	Items []App `json:"items,omitempty"`
}

AppList is a list of Apps

func (*AppList) DeepCopy

func (in *AppList) DeepCopy() *AppList

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

func (*AppList) DeepCopyInto

func (in *AppList) DeepCopyInto(out *AppList)

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

func (*AppList) DeepCopyObject

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

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

type AppSpec

type AppSpec struct {
	State *AppSpecResource `json:"state,omitempty" tf:"-"`

	Resource AppSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

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

type AppSpecResource

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

	// Define the  path of the zip file of the application.
	AppPath *string `json:"appPath" tf:"app_path"`
	// Version of the application
	// +optional
	AppVersion *string `json:"appVersion,omitempty" tf:"app_version"`
	// Buildpack to build the app. 3 options: a) Blank means autodetection; b) A Git Url pointing to a buildpack; c) Name of an installed buildpack.
	// +optional
	Buildpack *string `json:"buildpack,omitempty" tf:"buildpack"`
	// The initial command for the app
	// +optional
	Command *string `json:"command,omitempty" tf:"command"`
	// The maximum amount of disk available to an instance of an app. In megabytes.
	// +optional
	DiskQuota *int64 `json:"diskQuota,omitempty" tf:"disk_quota"`
	// Key/value pairs of all the environment variables to run in your app. Does not include any system or service variables.
	// +optional
	EnvironmentJSON map[string]string `json:"environmentJSON,omitempty" tf:"environment_json"`
	// Endpoint called to determine if the app is healthy.
	// +optional
	HealthCheckHTTPEndpoint *string `json:"healthCheckHTTPEndpoint,omitempty" tf:"health_check_http_endpoint"`
	// Timeout in seconds for health checking of an staged app when starting up.
	// +optional
	HealthCheckTimeout *int64 `json:"healthCheckTimeout,omitempty" tf:"health_check_timeout"`
	// Type of health check to perform.
	// +optional
	HealthCheckType *string `json:"healthCheckType,omitempty" tf:"health_check_type"`
	// The number of instances
	// +optional
	Instances *int64 `json:"instances,omitempty" tf:"instances"`
	// The amount of memory each instance should have. In megabytes.
	// +optional
	Memory *int64 `json:"memory,omitempty" tf:"memory"`
	// The name for the app
	Name *string `json:"name" tf:"name"`
	// Define the route guids which should be bound to the application.
	// +optional
	RouteGuid []string `json:"routeGuid,omitempty" tf:"route_guid"`
	// Define the service instance guids that should be bound to this application.
	// +optional
	ServiceInstanceGuid []string `json:"serviceInstanceGuid,omitempty" tf:"service_instance_guid"`
	// Define space guid to which app belongs
	SpaceGuid *string `json:"spaceGuid" tf:"space_guid"`
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Define timeout to wait for the app instances to start/update/restage etc.
	// +optional
	WaitTimeMinutes *int64 `json:"waitTimeMinutes,omitempty" tf:"wait_time_minutes"`
}

func (*AppSpecResource) DeepCopy

func (in *AppSpecResource) DeepCopy() *AppSpecResource

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

func (*AppSpecResource) DeepCopyInto

func (in *AppSpecResource) DeepCopyInto(out *AppSpecResource)

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

type AppStatus

type AppStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AppStatus) DeepCopy

func (in *AppStatus) DeepCopy() *AppStatus

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

func (*AppStatus) DeepCopyInto

func (in *AppStatus) DeepCopyInto(out *AppStatus)

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

type ConfigEnvironment

type ConfigEnvironment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConfigEnvironmentSpec   `json:"spec,omitempty"`
	Status            ConfigEnvironmentStatus `json:"status,omitempty"`
}

func (*ConfigEnvironment) DeepCopy

func (in *ConfigEnvironment) DeepCopy() *ConfigEnvironment

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

func (*ConfigEnvironment) DeepCopyInto

func (in *ConfigEnvironment) DeepCopyInto(out *ConfigEnvironment)

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

func (*ConfigEnvironment) DeepCopyObject

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

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

func (*ConfigEnvironment) SetupWebhookWithManager

func (r *ConfigEnvironment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ConfigEnvironment) ValidateCreate

func (r *ConfigEnvironment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ConfigEnvironment) ValidateDelete

func (r *ConfigEnvironment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ConfigEnvironment) ValidateUpdate

func (r *ConfigEnvironment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ConfigEnvironmentList

type ConfigEnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ConfigEnvironment CRD objects
	Items []ConfigEnvironment `json:"items,omitempty"`
}

ConfigEnvironmentList is a list of ConfigEnvironments

func (*ConfigEnvironmentList) DeepCopy

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

func (*ConfigEnvironmentList) DeepCopyInto

func (in *ConfigEnvironmentList) DeepCopyInto(out *ConfigEnvironmentList)

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

func (*ConfigEnvironmentList) DeepCopyObject

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

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

type ConfigEnvironmentSpec

type ConfigEnvironmentSpec struct {
	State *ConfigEnvironmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource ConfigEnvironmentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ConfigEnvironmentSpec) DeepCopy

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

func (*ConfigEnvironmentSpec) DeepCopyInto

func (in *ConfigEnvironmentSpec) DeepCopyInto(out *ConfigEnvironmentSpec)

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

type ConfigEnvironmentSpecResource

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

	// Color code to distinguish the environment.
	// +optional
	ColorCode *string `json:"colorCode,omitempty" tf:"color_code"`
	// Creation time of the environment.
	// +optional
	CreatedTime *string `json:"createdTime,omitempty" tf:"created_time"`
	// Environment description
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Environment Id.
	EnvironmentID *string `json:"environmentID" tf:"environment_id"`
	// GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
	Guid *string `json:"guid" tf:"guid"`
	// Environment URL.
	// +optional
	Href *string `json:"href,omitempty" tf:"href"`
	// Environment name.
	Name *string `json:"name" tf:"name"`
	// Tags associated with the environment
	// +optional
	Tags *string `json:"tags,omitempty" tf:"tags"`
	// Last modified time of the environment data.
	// +optional
	UpdatedTime *string `json:"updatedTime,omitempty" tf:"updated_time"`
}

func (*ConfigEnvironmentSpecResource) DeepCopy

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

func (*ConfigEnvironmentSpecResource) DeepCopyInto

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

type ConfigEnvironmentStatus

type ConfigEnvironmentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ConfigEnvironmentStatus) DeepCopy

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

func (*ConfigEnvironmentStatus) DeepCopyInto

func (in *ConfigEnvironmentStatus) DeepCopyInto(out *ConfigEnvironmentStatus)

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

type ConfigFeature

type ConfigFeature struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConfigFeatureSpec   `json:"spec,omitempty"`
	Status            ConfigFeatureStatus `json:"status,omitempty"`
}

func (*ConfigFeature) DeepCopy

func (in *ConfigFeature) DeepCopy() *ConfigFeature

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

func (*ConfigFeature) DeepCopyInto

func (in *ConfigFeature) DeepCopyInto(out *ConfigFeature)

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

func (*ConfigFeature) DeepCopyObject

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

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

func (*ConfigFeature) SetupWebhookWithManager

func (r *ConfigFeature) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ConfigFeature) ValidateCreate

func (r *ConfigFeature) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ConfigFeature) ValidateDelete

func (r *ConfigFeature) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ConfigFeature) ValidateUpdate

func (r *ConfigFeature) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ConfigFeatureList

type ConfigFeatureList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ConfigFeature CRD objects
	Items []ConfigFeature `json:"items,omitempty"`
}

ConfigFeatureList is a list of ConfigFeatures

func (*ConfigFeatureList) DeepCopy

func (in *ConfigFeatureList) DeepCopy() *ConfigFeatureList

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

func (*ConfigFeatureList) DeepCopyInto

func (in *ConfigFeatureList) DeepCopyInto(out *ConfigFeatureList)

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

func (*ConfigFeatureList) DeepCopyObject

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

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

type ConfigFeatureSpec

type ConfigFeatureSpec struct {
	State *ConfigFeatureSpecResource `json:"state,omitempty" tf:"-"`

	Resource ConfigFeatureSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ConfigFeatureSpec) DeepCopy

func (in *ConfigFeatureSpec) DeepCopy() *ConfigFeatureSpec

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

func (*ConfigFeatureSpec) DeepCopyInto

func (in *ConfigFeatureSpec) DeepCopyInto(out *ConfigFeatureSpec)

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

type ConfigFeatureSpecCollections

type ConfigFeatureSpecCollections struct {
	// Collection id.
	CollectionID *string `json:"collectionID" tf:"collection_id"`
}

func (*ConfigFeatureSpecCollections) DeepCopy

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

func (*ConfigFeatureSpecCollections) DeepCopyInto

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

type ConfigFeatureSpecResource

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

	// List of collection id representing the collections that are associated with the specified feature flag.
	// +optional
	Collections []ConfigFeatureSpecCollections `json:"collections,omitempty" tf:"collections"`
	// Creation time of the feature flag.
	// +optional
	CreatedTime *string `json:"createdTime,omitempty" tf:"created_time"`
	// Feature description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute.
	DisabledValue *string `json:"disabledValue" tf:"disabled_value"`
	// The state of the feature flag.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// Value of the feature when it is enabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute.
	EnabledValue *string `json:"enabledValue" tf:"enabled_value"`
	// Environment Id.
	EnvironmentID *string `json:"environmentID" tf:"environment_id"`
	// Feature id.
	FeatureID *string `json:"featureID" tf:"feature_id"`
	// GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard.
	Guid *string `json:"guid" tf:"guid"`
	// Feature flag URL.
	// +optional
	Href *string `json:"href,omitempty" tf:"href"`
	// Feature name.
	Name *string `json:"name" tf:"name"`
	// Denotes if the targeting rules are specified for the feature flag.
	// +optional
	SegmentExists *bool `json:"segmentExists,omitempty" tf:"segment_exists"`
	// Specify the targeting rules that is used to set different feature flag values for different segments.
	// +optional
	SegmentRules []ConfigFeatureSpecSegmentRules `json:"segmentRules,omitempty" tf:"segment_rules"`
	// Tags associated with the feature.
	// +optional
	Tags *string `json:"tags,omitempty" tf:"tags"`
	// Type of the feature (BOOLEAN, STRING, NUMERIC).
	Type *string `json:"type" tf:"type"`
	// Last modified time of the feature flag data.
	// +optional
	UpdatedTime *string `json:"updatedTime,omitempty" tf:"updated_time"`
}

func (*ConfigFeatureSpecResource) DeepCopy

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

func (*ConfigFeatureSpecResource) DeepCopyInto

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

type ConfigFeatureSpecSegmentRules

type ConfigFeatureSpecSegmentRules struct {
	// Order of the rule, used during evaluation. The evaluation is performed in the order defined and the value associated with the first matching rule is used for evaluation.
	Order *int64 `json:"order" tf:"order"`
	// Rules array.
	Rules []ConfigFeatureSpecSegmentRulesRules `json:"rules" tf:"rules"`
	// Value to be used for evaluation for this rule. The value can be Boolean, String or a Numeric value as per the `type` attribute.
	Value *string `json:"value" tf:"value"`
}

func (*ConfigFeatureSpecSegmentRules) DeepCopy

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

func (*ConfigFeatureSpecSegmentRules) DeepCopyInto

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

type ConfigFeatureSpecSegmentRulesRules

type ConfigFeatureSpecSegmentRulesRules struct {
	// List of segment ids that are used for targeting using the rule.
	Segments []string `json:"segments" tf:"segments"`
}

func (*ConfigFeatureSpecSegmentRulesRules) DeepCopy

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

func (*ConfigFeatureSpecSegmentRulesRules) DeepCopyInto

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

type ConfigFeatureStatus

type ConfigFeatureStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ConfigFeatureStatus) DeepCopy

func (in *ConfigFeatureStatus) DeepCopy() *ConfigFeatureStatus

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

func (*ConfigFeatureStatus) DeepCopyInto

func (in *ConfigFeatureStatus) DeepCopyInto(out *ConfigFeatureStatus)

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

type DomainPrivate

type DomainPrivate struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainPrivateSpec   `json:"spec,omitempty"`
	Status            DomainPrivateStatus `json:"status,omitempty"`
}

func (*DomainPrivate) DeepCopy

func (in *DomainPrivate) DeepCopy() *DomainPrivate

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

func (*DomainPrivate) DeepCopyInto

func (in *DomainPrivate) DeepCopyInto(out *DomainPrivate)

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

func (*DomainPrivate) DeepCopyObject

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

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

func (*DomainPrivate) SetupWebhookWithManager

func (r *DomainPrivate) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DomainPrivate) ValidateCreate

func (r *DomainPrivate) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DomainPrivate) ValidateDelete

func (r *DomainPrivate) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DomainPrivate) ValidateUpdate

func (r *DomainPrivate) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DomainPrivateList

type DomainPrivateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of DomainPrivate CRD objects
	Items []DomainPrivate `json:"items,omitempty"`
}

DomainPrivateList is a list of DomainPrivates

func (*DomainPrivateList) DeepCopy

func (in *DomainPrivateList) DeepCopy() *DomainPrivateList

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

func (*DomainPrivateList) DeepCopyInto

func (in *DomainPrivateList) DeepCopyInto(out *DomainPrivateList)

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

func (*DomainPrivateList) DeepCopyObject

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

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

type DomainPrivateSpec

type DomainPrivateSpec struct {
	State *DomainPrivateSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainPrivateSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*DomainPrivateSpec) DeepCopy

func (in *DomainPrivateSpec) DeepCopy() *DomainPrivateSpec

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

func (*DomainPrivateSpec) DeepCopyInto

func (in *DomainPrivateSpec) DeepCopyInto(out *DomainPrivateSpec)

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

type DomainPrivateSpecResource

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

	// The name of the domain
	Name *string `json:"name" tf:"name"`
	// The organization that owns the domain.
	OrgGuid *string `json:"orgGuid" tf:"org_guid"`
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
}

func (*DomainPrivateSpecResource) DeepCopy

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

func (*DomainPrivateSpecResource) DeepCopyInto

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

type DomainPrivateStatus

type DomainPrivateStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*DomainPrivateStatus) DeepCopy

func (in *DomainPrivateStatus) DeepCopy() *DomainPrivateStatus

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

func (*DomainPrivateStatus) DeepCopyInto

func (in *DomainPrivateStatus) DeepCopyInto(out *DomainPrivateStatus)

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

type DomainShared

type DomainShared struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainSharedSpec   `json:"spec,omitempty"`
	Status            DomainSharedStatus `json:"status,omitempty"`
}

func (*DomainShared) DeepCopy

func (in *DomainShared) DeepCopy() *DomainShared

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

func (*DomainShared) DeepCopyInto

func (in *DomainShared) DeepCopyInto(out *DomainShared)

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

func (*DomainShared) DeepCopyObject

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

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

func (*DomainShared) SetupWebhookWithManager

func (r *DomainShared) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DomainShared) ValidateCreate

func (r *DomainShared) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DomainShared) ValidateDelete

func (r *DomainShared) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DomainShared) ValidateUpdate

func (r *DomainShared) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DomainSharedList

type DomainSharedList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of DomainShared CRD objects
	Items []DomainShared `json:"items,omitempty"`
}

DomainSharedList is a list of DomainShareds

func (*DomainSharedList) DeepCopy

func (in *DomainSharedList) DeepCopy() *DomainSharedList

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

func (*DomainSharedList) DeepCopyInto

func (in *DomainSharedList) DeepCopyInto(out *DomainSharedList)

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

func (*DomainSharedList) DeepCopyObject

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

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

type DomainSharedSpec

type DomainSharedSpec struct {
	State *DomainSharedSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainSharedSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*DomainSharedSpec) DeepCopy

func (in *DomainSharedSpec) DeepCopy() *DomainSharedSpec

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

func (*DomainSharedSpec) DeepCopyInto

func (in *DomainSharedSpec) DeepCopyInto(out *DomainSharedSpec)

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

type DomainSharedSpecResource

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

	// The name of the domain
	Name *string `json:"name" tf:"name"`
	// The guid of the router group.
	// +optional
	RouterGroupGuid *string `json:"routerGroupGuid,omitempty" tf:"router_group_guid"`
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
}

func (*DomainSharedSpecResource) DeepCopy

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

func (*DomainSharedSpecResource) DeepCopyInto

func (in *DomainSharedSpecResource) DeepCopyInto(out *DomainSharedSpecResource)

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

type DomainSharedStatus

type DomainSharedStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*DomainSharedStatus) DeepCopy

func (in *DomainSharedStatus) DeepCopy() *DomainSharedStatus

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

func (*DomainSharedStatus) DeepCopyInto

func (in *DomainSharedStatus) DeepCopyInto(out *DomainSharedStatus)

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

type Route

type Route struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RouteSpec   `json:"spec,omitempty"`
	Status            RouteStatus `json:"status,omitempty"`
}

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (*Route) DeepCopyObject

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

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

func (*Route) SetupWebhookWithManager

func (r *Route) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Route) ValidateCreate

func (r *Route) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Route) ValidateDelete

func (r *Route) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Route) ValidateUpdate

func (r *Route) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type RouteList

type RouteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Route CRD objects
	Items []Route `json:"items,omitempty"`
}

RouteList is a list of Routes

func (*RouteList) DeepCopy

func (in *RouteList) DeepCopy() *RouteList

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

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

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

func (*RouteList) DeepCopyObject

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

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

type RouteSpec

type RouteSpec struct {
	State *RouteSpecResource `json:"state,omitempty" tf:"-"`

	Resource RouteSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*RouteSpec) DeepCopy

func (in *RouteSpec) DeepCopy() *RouteSpec

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

func (*RouteSpec) DeepCopyInto

func (in *RouteSpec) DeepCopyInto(out *RouteSpec)

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

type RouteSpecResource

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

	// The guid of the associated domain
	DomainGuid *string `json:"domainGuid" tf:"domain_guid"`
	// The host portion of the route. Required for shared-domains.
	// +optional
	Host *string `json:"host,omitempty" tf:"host"`
	// The path for a route as raw text.Paths must be between 2 and 128 characters.Paths must start with a forward slash '/'.Paths must not contain a '?'
	// +optional
	Path *string `json:"path,omitempty" tf:"path"`
	// The port of the route. Supported for domains of TCP router groups only.
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// The guid of the associated space
	SpaceGuid *string `json:"spaceGuid" tf:"space_guid"`
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
}

func (*RouteSpecResource) DeepCopy

func (in *RouteSpecResource) DeepCopy() *RouteSpecResource

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

func (*RouteSpecResource) DeepCopyInto

func (in *RouteSpecResource) DeepCopyInto(out *RouteSpecResource)

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

type RouteStatus

type RouteStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*RouteStatus) DeepCopy

func (in *RouteStatus) DeepCopy() *RouteStatus

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

func (*RouteStatus) DeepCopyInto

func (in *RouteStatus) DeepCopyInto(out *RouteStatus)

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