v1alpha1

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=apps.3scale.net

Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=apps.3scale.net

Index

Constants

View Source
const (
	DeploymentEnvironmentProduction = "production"
	DeploymentEnvironmentStaging    = "staging"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "apps.3scale.net", Version: "v1alpha1"}

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

Functions

Types

type APIcast

type APIcast struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   APIcastSpec   `json:"spec,omitempty"`
	Status APIcastStatus `json:"status,omitempty"`
}

APIcast is the Schema for the apicasts API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=apicasts,scope=Namespaced +operator-sdk:gen-csv:customresourcedefinitions.displayName="APIcast"

func (*APIcast) DeepCopy

func (in *APIcast) DeepCopy() *APIcast

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

func (*APIcast) DeepCopyInto

func (in *APIcast) DeepCopyInto(out *APIcast)

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

func (*APIcast) DeepCopyObject

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

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

func (*APIcast) GetOwnerRefence added in v0.3.0

func (a *APIcast) GetOwnerRefence() *metav1.OwnerReference

func (*APIcast) Reset added in v0.3.0

func (a *APIcast) Reset()

type APIcastCondition

type APIcastCondition struct {
	// Type of replica set condition.
	Type APIcastConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status"`
}

func (*APIcastCondition) DeepCopy

func (in *APIcastCondition) DeepCopy() *APIcastCondition

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

func (*APIcastCondition) DeepCopyInto

func (in *APIcastCondition) DeepCopyInto(out *APIcastCondition)

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

type APIcastConditionType

type APIcastConditionType string

type APIcastExposedHost

type APIcastExposedHost struct {
	Host string `json:"host"`
	// +optional
	TLS []extensions.IngressTLS `json:"tls,omitempty"`
}

func (*APIcastExposedHost) DeepCopy

func (in *APIcastExposedHost) DeepCopy() *APIcastExposedHost

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

func (*APIcastExposedHost) DeepCopyInto

func (in *APIcastExposedHost) DeepCopyInto(out *APIcastExposedHost)

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

type APIcastList

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

APIcastList contains a list of APIcast

func (*APIcastList) DeepCopy

func (in *APIcastList) DeepCopy() *APIcastList

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

func (*APIcastList) DeepCopyInto

func (in *APIcastList) DeepCopyInto(out *APIcastList)

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

func (*APIcastList) DeepCopyObject

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

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

type APIcastSpec

type APIcastSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired 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
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	AdminPortalCredentialsRef *v1.LocalObjectReference `json:"adminPortalCredentialsRef,omitempty"`
	// +optional
	EmbeddedConfigurationSecretRef *v1.LocalObjectReference `json:"embeddedConfigurationSecretRef,omitempty"`
	// +optional
	ServiceAccount *string `json:"serviceAccount,omitempty"`
	// +optional
	Image *string `json:"image,omitempty"`
	// +optional
	ExposedHost *APIcastExposedHost `json:"exposedHost,omitempty"`
	// +optional
	DeploymentEnvironment *DeploymentEnvironmentType `json:"deploymentEnvironment,omitempty"` // THREESCALE_DEPLOYMENT_ENV
	// +optional
	DNSResolverAddress *string `json:"dnsResolverAddress,omitempty"` // RESOLVER
	// +optional
	EnabledServices []string `json:"enabledServices,omitempty"` // APICAST_SERVICES_LIST
	// +optional
	// +kubebuilder:validation:Enum=boot;lazy
	ConfigurationLoadMode *string `json:"configurationLoadMode,omitempty"` // APICAST_CONFIGURATION_LOADER
	// +optional
	// +kubebuilder:validation:Enum=debug;info;notice;warn;error;crit;alert;emerg
	LogLevel *string `json:"logLevel,omitempty"` // APICAST_LOG_LEVEL
	// +optional
	PathRoutingEnabled *bool `json:"pathRoutingEnabled,omitempty"` // APICAST_PATH_ROUTING
	// +optional
	ResponseCodesIncluded *bool `json:"responseCodesIncluded,omitempty"` // APICAST_RESPONSE_CODES
	// +optional
	CacheConfigurationSeconds *int64 `json:"cacheConfigurationSeconds,omitempty"` // APICAST_CONFIGURATION_CACHE
	// +optional
	// +kubebuilder:validation:Enum=disabled;status;policies;debug
	ManagementAPIScope *string `json:"managementAPIScope,omitempty"` // APICAST_MANAGEMENT_API
	// +optional
	OpenSSLPeerVerificationEnabled *bool `json:"openSSLPeerVerificationEnabled,omitempty"` // OPENSSL_VERIFY
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	// +kubebuilder:validation:Minimum=1
	Workers *int32 `json:"workers,omitempty"`
}

APIcastSpec defines the desired state of APIcast +k8s:openapi-gen=true

func (*APIcastSpec) DeepCopy

func (in *APIcastSpec) DeepCopy() *APIcastSpec

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

func (*APIcastSpec) DeepCopyInto

func (in *APIcastSpec) DeepCopyInto(out *APIcastSpec)

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

type APIcastStatus

type APIcastStatus struct {

	// Represents the latest available observations of a replica set's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []APIcastCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	// The image being used in the APIcast deployment
	// +optional
	Image string `json:"image,omitempty"`
}

APIcastStatus defines the observed state of APIcast +k8s:openapi-gen=true

func (*APIcastStatus) DeepCopy

func (in *APIcastStatus) DeepCopy() *APIcastStatus

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

func (*APIcastStatus) DeepCopyInto

func (in *APIcastStatus) DeepCopyInto(out *APIcastStatus)

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

type DeploymentEnvironmentType

type DeploymentEnvironmentType string

Jump to

Keyboard shortcuts

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