Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the openliberty v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=openliberty.io
Package v1beta1 contains API Schema definitions for the openliberty v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=openliberty.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type Certificate
- type GithubLogin
- type OAuth2Client
- type OidcClient
- type OpenLibertyApplication
- func (in *OpenLibertyApplication) DeepCopy() *OpenLibertyApplication
- func (in *OpenLibertyApplication) DeepCopyInto(out *OpenLibertyApplication)
- func (in *OpenLibertyApplication) DeepCopyObject() runtime.Object
- func (cr *OpenLibertyApplication) GetAffinity() common.BaseComponentAffinity
- func (cr *OpenLibertyApplication) GetAnnotations() map[string]string
- func (cr *OpenLibertyApplication) GetApplicationImage() string
- func (cr *OpenLibertyApplication) GetApplicationName() string
- func (cr *OpenLibertyApplication) GetArchitecture() []string
- func (cr *OpenLibertyApplication) GetAutoscaling() common.BaseComponentAutoscaling
- func (cr *OpenLibertyApplication) GetBindings() common.BaseComponentBindings
- func (cr *OpenLibertyApplication) GetCreateAppDefinition() *bool
- func (cr *OpenLibertyApplication) GetCreateKnativeService() *bool
- func (cr *OpenLibertyApplication) GetEnv() []corev1.EnvVar
- func (cr *OpenLibertyApplication) GetEnvFrom() []corev1.EnvFromSource
- func (cr *OpenLibertyApplication) GetExpose() *bool
- func (cr *OpenLibertyApplication) GetGroupName() string
- func (cr *OpenLibertyApplication) GetInitContainers() []corev1.Container
- func (cr *OpenLibertyApplication) GetLabels() map[string]string
- func (cr *OpenLibertyApplication) GetLivenessProbe() *corev1.Probe
- func (cr *OpenLibertyApplication) GetMonitoring() common.BaseComponentMonitoring
- func (cr *OpenLibertyApplication) GetPullPolicy() *corev1.PullPolicy
- func (cr *OpenLibertyApplication) GetPullSecret() *string
- func (cr *OpenLibertyApplication) GetReadinessProbe() *corev1.Probe
- func (cr *OpenLibertyApplication) GetReplicas() *int32
- func (cr *OpenLibertyApplication) GetResourceConstraints() *corev1.ResourceRequirements
- func (cr *OpenLibertyApplication) GetRoute() common.BaseComponentRoute
- func (cr *OpenLibertyApplication) GetService() common.BaseComponentService
- func (cr *OpenLibertyApplication) GetServiceAccountName() *string
- func (cr *OpenLibertyApplication) GetServiceability() *OpenLibertyApplicationServiceability
- func (cr *OpenLibertyApplication) GetSidecarContainers() []corev1.Container
- func (cr *OpenLibertyApplication) GetStatus() common.BaseComponentStatus
- func (cr *OpenLibertyApplication) GetStorage() common.BaseComponentStorage
- func (cr *OpenLibertyApplication) GetVersion() string
- func (cr *OpenLibertyApplication) GetVolumeMounts() []corev1.VolumeMount
- func (cr *OpenLibertyApplication) GetVolumes() []corev1.Volume
- func (cr *OpenLibertyApplication) Initialize()
- type OpenLibertyApplicationAffinity
- func (in *OpenLibertyApplicationAffinity) DeepCopy() *OpenLibertyApplicationAffinity
- func (in *OpenLibertyApplicationAffinity) DeepCopyInto(out *OpenLibertyApplicationAffinity)
- func (a *OpenLibertyApplicationAffinity) GetArchitecture() []string
- func (a *OpenLibertyApplicationAffinity) GetNodeAffinity() *corev1.NodeAffinity
- func (a *OpenLibertyApplicationAffinity) GetNodeAffinityLabels() map[string]string
- func (a *OpenLibertyApplicationAffinity) GetPodAffinity() *corev1.PodAffinity
- func (a *OpenLibertyApplicationAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
- type OpenLibertyApplicationAutoScaling
- func (in *OpenLibertyApplicationAutoScaling) DeepCopy() *OpenLibertyApplicationAutoScaling
- func (in *OpenLibertyApplicationAutoScaling) DeepCopyInto(out *OpenLibertyApplicationAutoScaling)
- func (a *OpenLibertyApplicationAutoScaling) GetMaxReplicas() int32
- func (a *OpenLibertyApplicationAutoScaling) GetMinReplicas() *int32
- func (a *OpenLibertyApplicationAutoScaling) GetTargetCPUUtilizationPercentage() *int32
- type OpenLibertyApplicationBindingExpose
- type OpenLibertyApplicationBindings
- func (in *OpenLibertyApplicationBindings) DeepCopy() *OpenLibertyApplicationBindings
- func (in *OpenLibertyApplicationBindings) DeepCopyInto(out *OpenLibertyApplicationBindings)
- func (r *OpenLibertyApplicationBindings) GetAutoDetect() *bool
- func (r *OpenLibertyApplicationBindings) GetEmbedded() *runtime.RawExtension
- func (r *OpenLibertyApplicationBindings) GetExpose() common.BaseComponentExpose
- func (r *OpenLibertyApplicationBindings) GetResourceRef() string
- type OpenLibertyApplicationList
- type OpenLibertyApplicationMonitoring
- func (in *OpenLibertyApplicationMonitoring) DeepCopy() *OpenLibertyApplicationMonitoring
- func (in *OpenLibertyApplicationMonitoring) DeepCopyInto(out *OpenLibertyApplicationMonitoring)
- func (m *OpenLibertyApplicationMonitoring) GetEndpoints() []prometheusv1.Endpoint
- func (m *OpenLibertyApplicationMonitoring) GetLabels() map[string]string
- type OpenLibertyApplicationRoute
- func (in *OpenLibertyApplicationRoute) DeepCopy() *OpenLibertyApplicationRoute
- func (in *OpenLibertyApplicationRoute) DeepCopyInto(out *OpenLibertyApplicationRoute)
- func (r *OpenLibertyApplicationRoute) GetAnnotations() map[string]string
- func (r *OpenLibertyApplicationRoute) GetCertificate() common.Certificate
- func (r *OpenLibertyApplicationRoute) GetCertificateSecretRef() *string
- func (r *OpenLibertyApplicationRoute) GetHost() string
- func (r *OpenLibertyApplicationRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
- func (r *OpenLibertyApplicationRoute) GetPath() string
- func (r *OpenLibertyApplicationRoute) GetTermination() *routev1.TLSTerminationType
- type OpenLibertyApplicationSSO
- type OpenLibertyApplicationService
- func (in *OpenLibertyApplicationService) DeepCopy() *OpenLibertyApplicationService
- func (in *OpenLibertyApplicationService) DeepCopyInto(out *OpenLibertyApplicationService)
- func (s *OpenLibertyApplicationService) GetAnnotations() map[string]string
- func (s *OpenLibertyApplicationService) GetCertificate() common.Certificate
- func (s *OpenLibertyApplicationService) GetCertificateSecretRef() *string
- func (s *OpenLibertyApplicationService) GetConsumes() []common.ServiceBindingConsumes
- func (s *OpenLibertyApplicationService) GetNodePort() *int32
- func (s *OpenLibertyApplicationService) GetPort() int32
- func (s *OpenLibertyApplicationService) GetPortName() string
- func (s *OpenLibertyApplicationService) GetPorts() []corev1.ServicePort
- func (s *OpenLibertyApplicationService) GetProvides() common.ServiceBindingProvides
- func (s *OpenLibertyApplicationService) GetTargetPort() *int32
- func (s *OpenLibertyApplicationService) GetType() *corev1.ServiceType
- type OpenLibertyApplicationServiceability
- func (in *OpenLibertyApplicationServiceability) DeepCopy() *OpenLibertyApplicationServiceability
- func (in *OpenLibertyApplicationServiceability) DeepCopyInto(out *OpenLibertyApplicationServiceability)
- func (s *OpenLibertyApplicationServiceability) GetSize() string
- func (s *OpenLibertyApplicationServiceability) GetVolumeClaimName() string
- type OpenLibertyApplicationSpec
- type OpenLibertyApplicationStatus
- func (in *OpenLibertyApplicationStatus) DeepCopy() *OpenLibertyApplicationStatus
- func (in *OpenLibertyApplicationStatus) DeepCopyInto(out *OpenLibertyApplicationStatus)
- func (s *OpenLibertyApplicationStatus) GetBinding() *corev1.LocalObjectReference
- func (s *OpenLibertyApplicationStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
- func (s *OpenLibertyApplicationStatus) GetConditions() []common.StatusCondition
- func (s *OpenLibertyApplicationStatus) GetConsumedServices() common.ConsumedServices
- func (s *OpenLibertyApplicationStatus) GetImageReference() string
- func (s *OpenLibertyApplicationStatus) GetResolvedBindings() []string
- func (s *OpenLibertyApplicationStatus) NewCondition() common.StatusCondition
- func (s *OpenLibertyApplicationStatus) SetBinding(r *corev1.LocalObjectReference)
- func (s *OpenLibertyApplicationStatus) SetCondition(c common.StatusCondition)
- func (s *OpenLibertyApplicationStatus) SetConsumedServices(c common.ConsumedServices)
- func (s *OpenLibertyApplicationStatus) SetImageReference(imageReference string)
- func (s *OpenLibertyApplicationStatus) SetResolvedBindings(rb []string)
- type OpenLibertyApplicationStorage
- func (in *OpenLibertyApplicationStorage) DeepCopy() *OpenLibertyApplicationStorage
- func (in *OpenLibertyApplicationStorage) DeepCopyInto(out *OpenLibertyApplicationStorage)
- func (s *OpenLibertyApplicationStorage) GetMountPath() string
- func (s *OpenLibertyApplicationStorage) GetSize() string
- func (s *OpenLibertyApplicationStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
- type OpenLibertyDump
- type OpenLibertyDumpInclude
- type OpenLibertyDumpList
- type OpenLibertyDumpSpec
- type OpenLibertyDumpStatus
- type OpenLibertyTrace
- type OpenLibertyTraceList
- type OpenLibertyTraceSpec
- type OpenLibertyTraceStatus
- func (in *OpenLibertyTraceStatus) DeepCopy() *OpenLibertyTraceStatus
- func (in *OpenLibertyTraceStatus) DeepCopyInto(out *OpenLibertyTraceStatus)
- func (s *OpenLibertyTraceStatus) GetCondition(t OperationStatusConditionType) OperationStatusCondition
- func (s *OpenLibertyTraceStatus) GetConditions() []OperationStatusCondition
- func (s *OpenLibertyTraceStatus) GetOperatedResource() *OperatedResource
- func (s *OpenLibertyTraceStatus) NewCondition() OperationStatusCondition
- func (s *OpenLibertyTraceStatus) SetCondition(c OperationStatusCondition)
- func (s *OpenLibertyTraceStatus) SetOperatedResource(or OperatedResource)
- type OperatedResource
- func (in *OperatedResource) DeepCopy() *OperatedResource
- func (in *OperatedResource) DeepCopyInto(out *OperatedResource)
- func (or *OperatedResource) GetOperatedResourceName() string
- func (or *OperatedResource) GetOperatedResourceType() string
- func (or *OperatedResource) SetOperatedResourceName(n string)
- func (or *OperatedResource) SetOperatedResourceType(t string)
- type OperationStatusCondition
- func (in *OperationStatusCondition) DeepCopy() *OperationStatusCondition
- func (in *OperationStatusCondition) DeepCopyInto(out *OperationStatusCondition)
- func (c *OperationStatusCondition) GetLastTransitionTime() *metav1.Time
- func (c *OperationStatusCondition) GetLastUpdateTime() metav1.Time
- func (c *OperationStatusCondition) GetMessage() string
- func (c *OperationStatusCondition) GetReason() string
- func (c *OperationStatusCondition) GetStatus() corev1.ConditionStatus
- func (c *OperationStatusCondition) GetType() OperationStatusConditionType
- func (c *OperationStatusCondition) SetLastTransitionTime(t *metav1.Time)
- func (c *OperationStatusCondition) SetLastUpdateTime(t metav1.Time)
- func (c *OperationStatusCondition) SetMessage(m string)
- func (c *OperationStatusCondition) SetReason(r string)
- func (c *OperationStatusCondition) SetStatus(s corev1.ConditionStatus)
- func (c *OperationStatusCondition) SetType(ct OperationStatusConditionType)
- type OperationStatusConditionType
- type ServiceBindingAuth
- type ServiceBindingConsumes
- func (in *ServiceBindingConsumes) DeepCopy() *ServiceBindingConsumes
- func (in *ServiceBindingConsumes) DeepCopyInto(out *ServiceBindingConsumes)
- func (c *ServiceBindingConsumes) GetCategory() common.ServiceBindingCategory
- func (c *ServiceBindingConsumes) GetMountPath() string
- func (c *ServiceBindingConsumes) GetName() string
- func (c *ServiceBindingConsumes) GetNamespace() string
- type ServiceBindingProvides
- func (in *ServiceBindingProvides) DeepCopy() *ServiceBindingProvides
- func (in *ServiceBindingProvides) DeepCopyInto(out *ServiceBindingProvides)
- func (p *ServiceBindingProvides) GetAuth() common.ServiceBindingAuth
- func (p *ServiceBindingProvides) GetCategory() common.ServiceBindingCategory
- func (p *ServiceBindingProvides) GetContext() string
- func (p *ServiceBindingProvides) GetProtocol() string
- type StatusCondition
- func (in *StatusCondition) DeepCopy() *StatusCondition
- func (in *StatusCondition) DeepCopyInto(out *StatusCondition)
- func (c *StatusCondition) GetLastTransitionTime() *metav1.Time
- func (c *StatusCondition) GetLastUpdateTime() metav1.Time
- func (c *StatusCondition) GetMessage() string
- func (c *StatusCondition) GetReason() string
- func (c *StatusCondition) GetStatus() corev1.ConditionStatus
- func (c *StatusCondition) GetType() common.StatusConditionType
- func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)
- func (c *StatusCondition) SetLastUpdateTime(t metav1.Time)
- func (c *StatusCondition) SetMessage(m string)
- func (c *StatusCondition) SetReason(r string)
- func (c *StatusCondition) SetStatus(s corev1.ConditionStatus)
- func (c *StatusCondition) SetType(ct common.StatusConditionType)
- type StatusConditionType
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "openliberty.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 Certificate ¶
type Certificate struct { // CommonName is a common name to be used on the Certificate. // The CommonName should have a length of 64 characters or fewer to avoid // generating invalid CSRs. // +optional CommonName string `json:"commonName,omitempty"` // Organization is the organization to be used on the Certificate // +optional Organization []string `json:"organization,omitempty"` // Certificate default Duration // +optional Duration *metav1.Duration `json:"duration,omitempty"` // Certificate renew before expiration duration // +optional RenewBefore *metav1.Duration `json:"renewBefore,omitempty"` // DNSNames is a list of subject alt names to be used on the Certificate. // +optional DNSNames []string `json:"dnsNames,omitempty"` // IPAddresses is a list of IP addresses to be used on the Certificate // +optional IPAddresses []string `json:"ipAddresses,omitempty"` // URISANs is a list of URI Subject Alternative Names to be set on this // Certificate. // +optional URISANs []string `json:"uriSANs,omitempty"` // SecretName is the name of the secret resource to store this secret in SecretName string `json:"secretName,omitempty"` // IssuerRef is a reference to the issuer for this certificate. // If the 'kind' field is not set, or set to 'Issuer', an Issuer resource // with the given name in the same namespace as the Certificate will be used. // If the 'kind' field is set to 'ClusterIssuer', a ClusterIssuer with the // provided name will be used. // The 'name' field in this stanza is required at all times. IssuerRef cmmeta.ObjectReference `json:"issuerRef,omitempty"` // IsCA will mark this Certificate as valid for signing. // This implies that the 'cert sign' usage is set // +optional IsCA bool `json:"isCA,omitempty"` // Usages is the set of x509 actions that are enabled for a given key. Defaults are ('digital signature', 'key encipherment') if empty // +optional Usages []certmngrv1alpha2.KeyUsage `json:"usages,omitempty"` // KeySize is the key bit size of the corresponding private key for this certificate. // If provided, value must be between 2048 and 8192 inclusive when KeyAlgorithm is // empty or is set to "rsa", and value must be one of (256, 384, 521) when // KeyAlgorithm is set to "ecdsa". // +optional KeySize int `json:"keySize,omitempty"` // KeyAlgorithm is the private key algorithm of the corresponding private key // for this certificate. If provided, allowed values are either "rsa" or "ecdsa" // If KeyAlgorithm is specified and KeySize is not provided, // key size of 256 will be used for "ecdsa" key algorithm and // key size of 2048 will be used for "rsa" key algorithm. // +optional KeyAlgorithm certmngrv1alpha2.KeyAlgorithm `json:"keyAlgorithm,omitempty"` // KeyEncoding is the private key cryptography standards (PKCS) // for this certificate's private key to be encoded in. If provided, allowed // values are "pkcs1" and "pkcs8" standing for PKCS#1 and PKCS#8, respectively. // If KeyEncoding is not specified, then PKCS#1 will be used by default. KeyEncoding certmngrv1alpha2.KeyEncoding `json:"keyEncoding,omitempty"` }
Certificate is used to request certificates
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Certificate) GetSpec ¶
func (crt *Certificate) GetSpec() certmngrv1alpha2.CertificateSpec
GetSpec returns certificate spec
type GithubLogin ¶
type GithubLogin struct {
Hostname string `json:"hostname,omitempty"`
}
GithubLogin represents configuration for social login using GitHub. +k8s:openapi-gen=true
func (*GithubLogin) DeepCopy ¶
func (in *GithubLogin) DeepCopy() *GithubLogin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubLogin.
func (*GithubLogin) DeepCopyInto ¶
func (in *GithubLogin) DeepCopyInto(out *GithubLogin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuth2Client ¶
type OAuth2Client struct { ID string `json:"id,omitempty"` TokenEndpoint string `json:"tokenEndpoint"` AuthorizationEndpoint string `json:"authorizationEndpoint"` GroupNameAttribute string `json:"groupNameAttribute,omitempty"` UserNameAttribute string `json:"userNameAttribute,omitempty"` DisplayName string `json:"displayName,omitempty"` RealmNameAttribute string `json:"realmNameAttribute,omitempty"` RealmName string `json:"realmName,omitempty"` Scope string `json:"scope,omitempty"` TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod,omitempty"` AccessTokenHeaderName string `json:"accessTokenHeaderName,omitempty"` AccessTokenRequired *bool `json:"accessTokenRequired,omitempty"` AccessTokenSupported *bool `json:"accessTokenSupported,omitempty"` UserApiType string `json:"userApiType,omitempty"` UserApi string `json:"userApi,omitempty"` }
OAuth2Client represents configuration for an OAuth2 client +k8s:openapi-gen=true
func (*OAuth2Client) DeepCopy ¶
func (in *OAuth2Client) DeepCopy() *OAuth2Client
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth2Client.
func (*OAuth2Client) DeepCopyInto ¶
func (in *OAuth2Client) DeepCopyInto(out *OAuth2Client)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OidcClient ¶
type OidcClient struct { ID string `json:"id,omitempty"` DiscoveryEndpoint string `json:"discoveryEndpoint"` GroupNameAttribute string `json:"groupNameAttribute,omitempty"` UserNameAttribute string `json:"userNameAttribute,omitempty"` DisplayName string `json:"displayName,omitempty"` UserInfoEndpointEnabled *bool `json:"userInfoEndpointEnabled,omitempty"` RealmNameAttribute string `json:"realmNameAttribute,omitempty"` Scope string `json:"scope,omitempty"` TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod,omitempty"` HostNameVerificationEnabled *bool `json:"hostNameVerificationEnabled,omitempty"` }
OidcClient represents configuration for an OpenID Connect (OIDC) client +k8s:openapi-gen=true
func (*OidcClient) DeepCopy ¶
func (in *OidcClient) DeepCopy() *OidcClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcClient.
func (*OidcClient) DeepCopyInto ¶
func (in *OidcClient) DeepCopyInto(out *OidcClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenLibertyApplication ¶
type OpenLibertyApplication struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenLibertyApplicationSpec `json:"spec,omitempty"` Status OpenLibertyApplicationStatus `json:"status,omitempty"` }
OpenLibertyApplication is the Schema for the OpenLibertyApplications API +k8s:openapi-gen=true +kubebuilder:resource:path=openlibertyapplications,scope=Namespaced,shortName=olapp;olapps +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".spec.applicationImage",priority=0,description="Absolute name of the deployed image containing registry and tag" +kubebuilder:printcolumn:name="Exposed",type="boolean",JSONPath=".spec.expose",priority=0,description="Specifies whether deployment is exposed externally via default Route" +kubebuilder:printcolumn:name="Reconciled",type="string",JSONPath=".status.conditions[?(@.type=='Reconciled')].status",priority=0,description="Status of the reconcile condition" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Reconciled')].reason",priority=1,description="Reason for the failure of reconcile condition" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Reconciled')].message",priority=1,description="Failure message from reconcile condition" +kubebuilder:printcolumn:name="DependenciesSatisfied",type="string",JSONPath=".status.conditions[?(@.type=='DependenciesSatisfied')].status",priority=1,description="Status of the application dependencies" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",priority=0,description="Age of the resource"
func (*OpenLibertyApplication) DeepCopy ¶
func (in *OpenLibertyApplication) DeepCopy() *OpenLibertyApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplication.
func (*OpenLibertyApplication) DeepCopyInto ¶
func (in *OpenLibertyApplication) DeepCopyInto(out *OpenLibertyApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplication) DeepCopyObject ¶
func (in *OpenLibertyApplication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OpenLibertyApplication) GetAffinity ¶
func (cr *OpenLibertyApplication) GetAffinity() common.BaseComponentAffinity
GetAffinity returns deployment's node and pod affinity settings
func (*OpenLibertyApplication) GetAnnotations ¶
func (cr *OpenLibertyApplication) GetAnnotations() map[string]string
GetAnnotations returns set of annotations to be added to all resources
func (*OpenLibertyApplication) GetApplicationImage ¶
func (cr *OpenLibertyApplication) GetApplicationImage() string
GetApplicationImage returns application image
func (*OpenLibertyApplication) GetApplicationName ¶
func (cr *OpenLibertyApplication) GetApplicationName() string
GetApplicationName returns Application name to be used for integration with kAppNav
func (*OpenLibertyApplication) GetArchitecture ¶
func (cr *OpenLibertyApplication) GetArchitecture() []string
GetArchitecture returns slice of architectures
func (*OpenLibertyApplication) GetAutoscaling ¶
func (cr *OpenLibertyApplication) GetAutoscaling() common.BaseComponentAutoscaling
GetAutoscaling returns autoscaling settings
func (*OpenLibertyApplication) GetBindings ¶
func (cr *OpenLibertyApplication) GetBindings() common.BaseComponentBindings
GetBindings returns binding configuration for OpenLibertyApplication
func (*OpenLibertyApplication) GetCreateAppDefinition ¶
func (cr *OpenLibertyApplication) GetCreateAppDefinition() *bool
GetCreateAppDefinition returns a toggle for integration with kAppNav
func (*OpenLibertyApplication) GetCreateKnativeService ¶
func (cr *OpenLibertyApplication) GetCreateKnativeService() *bool
GetCreateKnativeService returns flag that toggles Knative service
func (*OpenLibertyApplication) GetEnv ¶
func (cr *OpenLibertyApplication) GetEnv() []corev1.EnvVar
GetEnv returns slice of environment variables
func (*OpenLibertyApplication) GetEnvFrom ¶
func (cr *OpenLibertyApplication) GetEnvFrom() []corev1.EnvFromSource
GetEnvFrom returns slice of environment variables from source
func (*OpenLibertyApplication) GetExpose ¶
func (cr *OpenLibertyApplication) GetExpose() *bool
GetExpose returns expose flag
func (*OpenLibertyApplication) GetGroupName ¶
func (cr *OpenLibertyApplication) GetGroupName() string
GetGroupName returns group name to be used in labels and annotation
func (*OpenLibertyApplication) GetInitContainers ¶
func (cr *OpenLibertyApplication) GetInitContainers() []corev1.Container
GetInitContainers returns list of init containers
func (*OpenLibertyApplication) GetLabels ¶
func (cr *OpenLibertyApplication) GetLabels() map[string]string
GetLabels returns set of labels to be added to all resources
func (*OpenLibertyApplication) GetLivenessProbe ¶
func (cr *OpenLibertyApplication) GetLivenessProbe() *corev1.Probe
GetLivenessProbe returns liveness probe
func (*OpenLibertyApplication) GetMonitoring ¶
func (cr *OpenLibertyApplication) GetMonitoring() common.BaseComponentMonitoring
GetMonitoring returns monitoring settings
func (*OpenLibertyApplication) GetPullPolicy ¶
func (cr *OpenLibertyApplication) GetPullPolicy() *corev1.PullPolicy
GetPullPolicy returns image pull policy
func (*OpenLibertyApplication) GetPullSecret ¶
func (cr *OpenLibertyApplication) GetPullSecret() *string
GetPullSecret returns secret name for docker registry credentials
func (*OpenLibertyApplication) GetReadinessProbe ¶
func (cr *OpenLibertyApplication) GetReadinessProbe() *corev1.Probe
GetReadinessProbe returns readiness probe
func (*OpenLibertyApplication) GetReplicas ¶
func (cr *OpenLibertyApplication) GetReplicas() *int32
GetReplicas returns number of replicas
func (*OpenLibertyApplication) GetResourceConstraints ¶
func (cr *OpenLibertyApplication) GetResourceConstraints() *corev1.ResourceRequirements
GetResourceConstraints returns resource constraints
func (*OpenLibertyApplication) GetRoute ¶
func (cr *OpenLibertyApplication) GetRoute() common.BaseComponentRoute
GetRoute returns route
func (*OpenLibertyApplication) GetService ¶
func (cr *OpenLibertyApplication) GetService() common.BaseComponentService
GetService returns service settings
func (*OpenLibertyApplication) GetServiceAccountName ¶
func (cr *OpenLibertyApplication) GetServiceAccountName() *string
GetServiceAccountName returns service account name
func (*OpenLibertyApplication) GetServiceability ¶
func (cr *OpenLibertyApplication) GetServiceability() *OpenLibertyApplicationServiceability
GetServiceability returns serviceability
func (*OpenLibertyApplication) GetSidecarContainers ¶
func (cr *OpenLibertyApplication) GetSidecarContainers() []corev1.Container
GetSidecarContainers returns list of sidecar containers
func (*OpenLibertyApplication) GetStatus ¶
func (cr *OpenLibertyApplication) GetStatus() common.BaseComponentStatus
GetStatus returns OpenLibertyApplication status
func (*OpenLibertyApplication) GetStorage ¶
func (cr *OpenLibertyApplication) GetStorage() common.BaseComponentStorage
GetStorage returns storage settings
func (*OpenLibertyApplication) GetVersion ¶
func (cr *OpenLibertyApplication) GetVersion() string
GetVersion returns application version
func (*OpenLibertyApplication) GetVolumeMounts ¶
func (cr *OpenLibertyApplication) GetVolumeMounts() []corev1.VolumeMount
GetVolumeMounts returns volume mounts slice
func (*OpenLibertyApplication) GetVolumes ¶
func (cr *OpenLibertyApplication) GetVolumes() []corev1.Volume
GetVolumes returns volumes slice
func (*OpenLibertyApplication) Initialize ¶
func (cr *OpenLibertyApplication) Initialize()
Initialize sets default values
type OpenLibertyApplicationAffinity ¶
type OpenLibertyApplicationAffinity struct { NodeAffinity *corev1.NodeAffinity `json:"nodeAffinity,omitempty"` PodAffinity *corev1.PodAffinity `json:"podAffinity,omitempty"` PodAntiAffinity *corev1.PodAntiAffinity `json:"podAntiAffinity,omitempty"` // +listType=set Architecture []string `json:"architecture,omitempty"` NodeAffinityLabels map[string]string `json:"nodeAffinityLabels,omitempty"` }
OpenLibertyApplicationAffinity deployment affinity settings +k8s:openapi-gen=true
func (*OpenLibertyApplicationAffinity) DeepCopy ¶
func (in *OpenLibertyApplicationAffinity) DeepCopy() *OpenLibertyApplicationAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationAffinity.
func (*OpenLibertyApplicationAffinity) DeepCopyInto ¶
func (in *OpenLibertyApplicationAffinity) DeepCopyInto(out *OpenLibertyApplicationAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationAffinity) GetArchitecture ¶
func (a *OpenLibertyApplicationAffinity) GetArchitecture() []string
GetArchitecture returns list of architecture names
func (*OpenLibertyApplicationAffinity) GetNodeAffinity ¶
func (a *OpenLibertyApplicationAffinity) GetNodeAffinity() *corev1.NodeAffinity
GetNodeAffinity returns node affinity
func (*OpenLibertyApplicationAffinity) GetNodeAffinityLabels ¶
func (a *OpenLibertyApplicationAffinity) GetNodeAffinityLabels() map[string]string
GetNodeAffinityLabels returns list of architecture names
func (*OpenLibertyApplicationAffinity) GetPodAffinity ¶
func (a *OpenLibertyApplicationAffinity) GetPodAffinity() *corev1.PodAffinity
GetPodAffinity returns pod affinity
func (*OpenLibertyApplicationAffinity) GetPodAntiAffinity ¶
func (a *OpenLibertyApplicationAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
GetPodAntiAffinity returns pod anti-affinity
type OpenLibertyApplicationAutoScaling ¶
type OpenLibertyApplicationAutoScaling struct { TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty"` MinReplicas *int32 `json:"minReplicas,omitempty"` // +kubebuilder:validation:Minimum=1 MaxReplicas int32 `json:"maxReplicas,omitempty"` }
OpenLibertyApplicationAutoScaling ... +k8s:openapi-gen=true
func (*OpenLibertyApplicationAutoScaling) DeepCopy ¶
func (in *OpenLibertyApplicationAutoScaling) DeepCopy() *OpenLibertyApplicationAutoScaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationAutoScaling.
func (*OpenLibertyApplicationAutoScaling) DeepCopyInto ¶
func (in *OpenLibertyApplicationAutoScaling) DeepCopyInto(out *OpenLibertyApplicationAutoScaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationAutoScaling) GetMaxReplicas ¶
func (a *OpenLibertyApplicationAutoScaling) GetMaxReplicas() int32
GetMaxReplicas returns maximum replicas
func (*OpenLibertyApplicationAutoScaling) GetMinReplicas ¶
func (a *OpenLibertyApplicationAutoScaling) GetMinReplicas() *int32
GetMinReplicas returns minimum replicas
func (*OpenLibertyApplicationAutoScaling) GetTargetCPUUtilizationPercentage ¶
func (a *OpenLibertyApplicationAutoScaling) GetTargetCPUUtilizationPercentage() *int32
GetTargetCPUUtilizationPercentage returns target cpu usage
type OpenLibertyApplicationBindingExpose ¶
type OpenLibertyApplicationBindingExpose struct {
Enabled *bool `json:"enabled,omitempty"`
}
OpenLibertyApplicationBindingExpose encapsulates information exposed by the application
func (*OpenLibertyApplicationBindingExpose) DeepCopy ¶
func (in *OpenLibertyApplicationBindingExpose) DeepCopy() *OpenLibertyApplicationBindingExpose
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationBindingExpose.
func (*OpenLibertyApplicationBindingExpose) DeepCopyInto ¶
func (in *OpenLibertyApplicationBindingExpose) DeepCopyInto(out *OpenLibertyApplicationBindingExpose)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationBindingExpose) GetEnabled ¶
func (e *OpenLibertyApplicationBindingExpose) GetEnabled() *bool
GetEnabled returns whether the application should be exposable as a service
type OpenLibertyApplicationBindings ¶
type OpenLibertyApplicationBindings struct { AutoDetect *bool `json:"autoDetect,omitempty"` ResourceRef string `json:"resourceRef,omitempty"` Embedded *runtime.RawExtension `json:"embedded,omitempty"` Expose *OpenLibertyApplicationBindingExpose `json:"expose,omitempty"` }
OpenLibertyApplicationBindings represents service binding related parameters
func (*OpenLibertyApplicationBindings) DeepCopy ¶
func (in *OpenLibertyApplicationBindings) DeepCopy() *OpenLibertyApplicationBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationBindings.
func (*OpenLibertyApplicationBindings) DeepCopyInto ¶
func (in *OpenLibertyApplicationBindings) DeepCopyInto(out *OpenLibertyApplicationBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationBindings) GetAutoDetect ¶
func (r *OpenLibertyApplicationBindings) GetAutoDetect() *bool
GetAutoDetect returns a boolean to specify if the operator should auto-detect ServiceBinding CRs with the same name as the OpenLibertyApplication CR
func (*OpenLibertyApplicationBindings) GetEmbedded ¶
func (r *OpenLibertyApplicationBindings) GetEmbedded() *runtime.RawExtension
GetEmbedded returns the embedded underlying Service Binding resource
func (*OpenLibertyApplicationBindings) GetExpose ¶
func (r *OpenLibertyApplicationBindings) GetExpose() common.BaseComponentExpose
GetExpose returns the map used making this application a bindable service
func (*OpenLibertyApplicationBindings) GetResourceRef ¶
func (r *OpenLibertyApplicationBindings) GetResourceRef() string
GetResourceRef returns name of ServiceBinding CRs created manually in the same namespace as the OpenLibertyApplication CR
type OpenLibertyApplicationList ¶
type OpenLibertyApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenLibertyApplication `json:"items"` }
OpenLibertyApplicationList contains a list of OpenLibertyApplication
func (*OpenLibertyApplicationList) DeepCopy ¶
func (in *OpenLibertyApplicationList) DeepCopy() *OpenLibertyApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationList.
func (*OpenLibertyApplicationList) DeepCopyInto ¶
func (in *OpenLibertyApplicationList) DeepCopyInto(out *OpenLibertyApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationList) DeepCopyObject ¶
func (in *OpenLibertyApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenLibertyApplicationMonitoring ¶
type OpenLibertyApplicationMonitoring struct { Labels map[string]string `json:"labels,omitempty"` // +listType=atomic Endpoints []prometheusv1.Endpoint `json:"endpoints,omitempty"` }
OpenLibertyApplicationMonitoring ... +k8s:openapi-gen=true
func (*OpenLibertyApplicationMonitoring) DeepCopy ¶
func (in *OpenLibertyApplicationMonitoring) DeepCopy() *OpenLibertyApplicationMonitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationMonitoring.
func (*OpenLibertyApplicationMonitoring) DeepCopyInto ¶
func (in *OpenLibertyApplicationMonitoring) DeepCopyInto(out *OpenLibertyApplicationMonitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationMonitoring) GetEndpoints ¶
func (m *OpenLibertyApplicationMonitoring) GetEndpoints() []prometheusv1.Endpoint
GetEndpoints returns endpoints to be added to ServiceMonitor
func (*OpenLibertyApplicationMonitoring) GetLabels ¶
func (m *OpenLibertyApplicationMonitoring) GetLabels() map[string]string
GetLabels returns labels to be added on ServiceMonitor
type OpenLibertyApplicationRoute ¶
type OpenLibertyApplicationRoute struct { Annotations map[string]string `json:"annotations,omitempty"` Termination *routev1.TLSTerminationType `json:"termination,omitempty"` InsecureEdgeTerminationPolicy *routev1.InsecureEdgeTerminationPolicyType `json:"insecureEdgeTerminationPolicy,omitempty"` Certificate *Certificate `json:"certificate,omitempty"` CertificateSecretRef *string `json:"certificateSecretRef,omitempty"` Host string `json:"host,omitempty"` Path string `json:"path,omitempty"` }
+k8s:openapi-gen=true
func (*OpenLibertyApplicationRoute) DeepCopy ¶
func (in *OpenLibertyApplicationRoute) DeepCopy() *OpenLibertyApplicationRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationRoute.
func (*OpenLibertyApplicationRoute) DeepCopyInto ¶
func (in *OpenLibertyApplicationRoute) DeepCopyInto(out *OpenLibertyApplicationRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationRoute) GetAnnotations ¶
func (r *OpenLibertyApplicationRoute) GetAnnotations() map[string]string
GetAnnotations returns route annotations
func (*OpenLibertyApplicationRoute) GetCertificate ¶
func (r *OpenLibertyApplicationRoute) GetCertificate() common.Certificate
GetCertificate returns certficate spec for route
func (*OpenLibertyApplicationRoute) GetCertificateSecretRef ¶
func (r *OpenLibertyApplicationRoute) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*OpenLibertyApplicationRoute) GetHost ¶
func (r *OpenLibertyApplicationRoute) GetHost() string
GetHost returns hostname to be used by the route
func (*OpenLibertyApplicationRoute) GetInsecureEdgeTerminationPolicy ¶
func (r *OpenLibertyApplicationRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
GetInsecureEdgeTerminationPolicy returns terminatation of the route's TLS
func (*OpenLibertyApplicationRoute) GetPath ¶
func (r *OpenLibertyApplicationRoute) GetPath() string
GetPath returns path to use for the route
func (*OpenLibertyApplicationRoute) GetTermination ¶
func (r *OpenLibertyApplicationRoute) GetTermination() *routev1.TLSTerminationType
GetTermination returns terminatation of the route's TLS
type OpenLibertyApplicationSSO ¶
type OpenLibertyApplicationSSO struct { // +listType=atomic OIDC []OidcClient `json:"oidc,omitempty"` // +listType=atomic Oauth2 []OAuth2Client `json:"oauth2,omitempty"` Github *GithubLogin `json:"github,omitempty"` // Common parameters for all SSO providers RedirectToRPHostAndPort string `json:"redirectToRPHostAndPort,omitempty"` MapToUserRegistry *bool `json:"mapToUserRegistry,omitempty"` }
OpenLibertyApplicationSSO represents Single sign-on (SSO) configuration for an OpenLibertyApplication +k8s:openapi-gen=true
func (*OpenLibertyApplicationSSO) DeepCopy ¶
func (in *OpenLibertyApplicationSSO) DeepCopy() *OpenLibertyApplicationSSO
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationSSO.
func (*OpenLibertyApplicationSSO) DeepCopyInto ¶
func (in *OpenLibertyApplicationSSO) DeepCopyInto(out *OpenLibertyApplicationSSO)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenLibertyApplicationService ¶
type OpenLibertyApplicationService struct { Type *corev1.ServiceType `json:"type,omitempty"` // +kubebuilder:validation:Maximum=65535 // +kubebuilder:validation:Minimum=1 Port int32 `json:"port,omitempty"` // +kubebuilder:validation:Maximum=65535 // +kubebuilder:validation:Minimum=1 TargetPort *int32 `json:"targetPort,omitempty"` // +kubebuilder:validation:Maximum=65535 // +kubebuilder:validation:Minimum=0 NodePort *int32 `json:"nodePort,omitempty"` PortName string `json:"portName,omitempty"` Ports []corev1.ServicePort `json:"ports,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` // +listType=atomic Consumes []ServiceBindingConsumes `json:"consumes,omitempty"` Provides *ServiceBindingProvides `json:"provides,omitempty"` // +k8s:openapi-gen=true Certificate *Certificate `json:"certificate,omitempty"` CertificateSecretRef *string `json:"certificateSecretRef,omitempty"` }
OpenLibertyApplicationService ... +k8s:openapi-gen=true
func (*OpenLibertyApplicationService) DeepCopy ¶
func (in *OpenLibertyApplicationService) DeepCopy() *OpenLibertyApplicationService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationService.
func (*OpenLibertyApplicationService) DeepCopyInto ¶
func (in *OpenLibertyApplicationService) DeepCopyInto(out *OpenLibertyApplicationService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationService) GetAnnotations ¶
func (s *OpenLibertyApplicationService) GetAnnotations() map[string]string
GetAnnotations returns a set of annotations to be added to the service
func (*OpenLibertyApplicationService) GetCertificate ¶
func (s *OpenLibertyApplicationService) GetCertificate() common.Certificate
GetCertificate returns services certificate configuration
func (*OpenLibertyApplicationService) GetCertificateSecretRef ¶
func (s *OpenLibertyApplicationService) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*OpenLibertyApplicationService) GetConsumes ¶
func (s *OpenLibertyApplicationService) GetConsumes() []common.ServiceBindingConsumes
GetConsumes returns a list of service consumers' configuration
func (*OpenLibertyApplicationService) GetNodePort ¶
func (s *OpenLibertyApplicationService) GetNodePort() *int32
GetNodePort returns service nodePort
func (*OpenLibertyApplicationService) GetPort ¶
func (s *OpenLibertyApplicationService) GetPort() int32
GetPort returns service port
func (*OpenLibertyApplicationService) GetPortName ¶
func (s *OpenLibertyApplicationService) GetPortName() string
GetPortName returns name of service port
func (*OpenLibertyApplicationService) GetPorts ¶
func (s *OpenLibertyApplicationService) GetPorts() []corev1.ServicePort
GetPorts returns a list of service ports
func (*OpenLibertyApplicationService) GetProvides ¶
func (s *OpenLibertyApplicationService) GetProvides() common.ServiceBindingProvides
GetProvides returns service provider configuration
func (*OpenLibertyApplicationService) GetTargetPort ¶
func (s *OpenLibertyApplicationService) GetTargetPort() *int32
GetTargetPort returns the internal target port for containers
func (*OpenLibertyApplicationService) GetType ¶
func (s *OpenLibertyApplicationService) GetType() *corev1.ServiceType
GetType returns service type
type OpenLibertyApplicationServiceability ¶
type OpenLibertyApplicationServiceability struct { // +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$ Size string `json:"size,omitempty"` // +kubebuilder:validation:Pattern=.+ VolumeClaimName string `json:"volumeClaimName,omitempty"` // +kubebuilder:validation:Pattern=.+ StorageClassName string `json:"storageClassName,omitempty"` }
OpenLibertyApplicationServiceability ... +k8s:openapi-gen=true
func (*OpenLibertyApplicationServiceability) DeepCopy ¶
func (in *OpenLibertyApplicationServiceability) DeepCopy() *OpenLibertyApplicationServiceability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationServiceability.
func (*OpenLibertyApplicationServiceability) DeepCopyInto ¶
func (in *OpenLibertyApplicationServiceability) DeepCopyInto(out *OpenLibertyApplicationServiceability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationServiceability) GetSize ¶
func (s *OpenLibertyApplicationServiceability) GetSize() string
GetSize returns pesistent volume size for Serviceability
func (*OpenLibertyApplicationServiceability) GetVolumeClaimName ¶
func (s *OpenLibertyApplicationServiceability) GetVolumeClaimName() string
GetVolumeClaimName returns the name of custom PersistentVolumeClaim (PVC) for Serviceability. Must be in the same namespace as the OpenLibertyApplication.
type OpenLibertyApplicationSpec ¶
type OpenLibertyApplicationSpec struct { Version string `json:"version,omitempty"` ApplicationImage string `json:"applicationImage"` Replicas *int32 `json:"replicas,omitempty"` Autoscaling *OpenLibertyApplicationAutoScaling `json:"autoscaling,omitempty"` PullPolicy *corev1.PullPolicy `json:"pullPolicy,omitempty"` PullSecret *string `json:"pullSecret,omitempty"` // +listType=map // +listMapKey=name Volumes []corev1.Volume `json:"volumes,omitempty"` // +listType=atomic VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` ResourceConstraints *corev1.ResourceRequirements `json:"resourceConstraints,omitempty"` ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"` LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` Service *OpenLibertyApplicationService `json:"service,omitempty"` Expose *bool `json:"expose,omitempty"` // +listType=atomic EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"` // +listType=map // +listMapKey=name Env []corev1.EnvVar `json:"env,omitempty"` ServiceAccountName *string `json:"serviceAccountName,omitempty"` // +listType=set Architecture []string `json:"architecture,omitempty"` Storage *OpenLibertyApplicationStorage `json:"storage,omitempty"` CreateKnativeService *bool `json:"createKnativeService,omitempty"` Monitoring *OpenLibertyApplicationMonitoring `json:"monitoring,omitempty"` CreateAppDefinition *bool `json:"createAppDefinition,omitempty"` ApplicationName string `json:"applicationName,omitempty"` // +listType=map // +listMapKey=name InitContainers []corev1.Container `json:"initContainers,omitempty"` // +listType=map // +listMapKey=name SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"` Route *OpenLibertyApplicationRoute `json:"route,omitempty"` Bindings *OpenLibertyApplicationBindings `json:"bindings,omitempty"` Affinity *OpenLibertyApplicationAffinity `json:"affinity,omitempty"` Serviceability *OpenLibertyApplicationServiceability `json:"serviceability,omitempty"` SSO *OpenLibertyApplicationSSO `json:"sso,omitempty"` }
OpenLibertyApplicationSpec defines the desired state of OpenLibertyApplication +k8s:openapi-gen=true
func (*OpenLibertyApplicationSpec) DeepCopy ¶
func (in *OpenLibertyApplicationSpec) DeepCopy() *OpenLibertyApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationSpec.
func (*OpenLibertyApplicationSpec) DeepCopyInto ¶
func (in *OpenLibertyApplicationSpec) DeepCopyInto(out *OpenLibertyApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenLibertyApplicationStatus ¶
type OpenLibertyApplicationStatus struct { // +listType=map // +listMapKey=type Conditions []StatusCondition `json:"conditions,omitempty"` ConsumedServices common.ConsumedServices `json:"consumedServices,omitempty"` RouteAvailable *bool `json:"routeAvailable,omitempty"` // +listType=set ResolvedBindings []string `json:"resolvedBindings,omitempty"` ImageReference string `json:"imageReference,omitempty"` Binding *corev1.LocalObjectReference `json:"binding,omitempty"` }
OpenLibertyApplicationStatus defines the observed state of OpenLibertyApplication +k8s:openapi-gen=true
func (*OpenLibertyApplicationStatus) DeepCopy ¶
func (in *OpenLibertyApplicationStatus) DeepCopy() *OpenLibertyApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationStatus.
func (*OpenLibertyApplicationStatus) DeepCopyInto ¶
func (in *OpenLibertyApplicationStatus) DeepCopyInto(out *OpenLibertyApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationStatus) GetBinding ¶
func (s *OpenLibertyApplicationStatus) GetBinding() *corev1.LocalObjectReference
GetBinding returns BindingStatus representing binding status
func (*OpenLibertyApplicationStatus) GetCondition ¶
func (s *OpenLibertyApplicationStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
GetCondition ...
func (*OpenLibertyApplicationStatus) GetConditions ¶
func (s *OpenLibertyApplicationStatus) GetConditions() []common.StatusCondition
GetConditions returns slice of conditions
func (*OpenLibertyApplicationStatus) GetConsumedServices ¶
func (s *OpenLibertyApplicationStatus) GetConsumedServices() common.ConsumedServices
GetConsumedServices returns a map of all the service names to be consumed by the application
func (*OpenLibertyApplicationStatus) GetImageReference ¶
func (s *OpenLibertyApplicationStatus) GetImageReference() string
GetImageReference returns Docker image reference to be deployed by the CR
func (*OpenLibertyApplicationStatus) GetResolvedBindings ¶
func (s *OpenLibertyApplicationStatus) GetResolvedBindings() []string
GetResolvedBindings returns a map of all the service names to be consumed by the application
func (*OpenLibertyApplicationStatus) NewCondition ¶
func (s *OpenLibertyApplicationStatus) NewCondition() common.StatusCondition
NewCondition returns new condition
func (*OpenLibertyApplicationStatus) SetBinding ¶
func (s *OpenLibertyApplicationStatus) SetBinding(r *corev1.LocalObjectReference)
SetBinding sets BindingStatus representing binding status
func (*OpenLibertyApplicationStatus) SetCondition ¶
func (s *OpenLibertyApplicationStatus) SetCondition(c common.StatusCondition)
SetCondition ...
func (*OpenLibertyApplicationStatus) SetConsumedServices ¶
func (s *OpenLibertyApplicationStatus) SetConsumedServices(c common.ConsumedServices)
SetConsumedServices sets ConsumedServices
func (*OpenLibertyApplicationStatus) SetImageReference ¶
func (s *OpenLibertyApplicationStatus) SetImageReference(imageReference string)
SetImageReference sets Docker image reference on the status portion of the CR
func (*OpenLibertyApplicationStatus) SetResolvedBindings ¶
func (s *OpenLibertyApplicationStatus) SetResolvedBindings(rb []string)
SetResolvedBindings sets ConsumedServices
type OpenLibertyApplicationStorage ¶
type OpenLibertyApplicationStorage struct { // +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$ Size string `json:"size,omitempty"` MountPath string `json:"mountPath,omitempty"` VolumeClaimTemplate *corev1.PersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"` }
OpenLibertyApplicationStorage ... +k8s:openapi-gen=true
func (*OpenLibertyApplicationStorage) DeepCopy ¶
func (in *OpenLibertyApplicationStorage) DeepCopy() *OpenLibertyApplicationStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyApplicationStorage.
func (*OpenLibertyApplicationStorage) DeepCopyInto ¶
func (in *OpenLibertyApplicationStorage) DeepCopyInto(out *OpenLibertyApplicationStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyApplicationStorage) GetMountPath ¶
func (s *OpenLibertyApplicationStorage) GetMountPath() string
GetMountPath returns mount path for persistent volume
func (*OpenLibertyApplicationStorage) GetSize ¶
func (s *OpenLibertyApplicationStorage) GetSize() string
GetSize returns pesistent volume size
func (*OpenLibertyApplicationStorage) GetVolumeClaimTemplate ¶
func (s *OpenLibertyApplicationStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
GetVolumeClaimTemplate returns a template representing requested persistent volume
type OpenLibertyDump ¶
type OpenLibertyDump struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenLibertyDumpSpec `json:"spec,omitempty"` Status OpenLibertyDumpStatus `json:"status,omitempty"` }
OpenLibertyDump is the Schema for the openlibertydumps API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=openlibertydumps,scope=Namespaced,shortName=oldump;oldumps +kubebuilder:printcolumn:name="Started",type="string",JSONPath=".status.conditions[?(@.type=='Started')].status",priority=0,description="Indicates if dump operation has started" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Started')].reason",priority=1,description="Reason for dump operation failing to start" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Started')].message",priority=1,description="Message for dump operation failing to start" +kubebuilder:printcolumn:name="Completed",type="string",JSONPath=".status.conditions[?(@.type=='Completed')].status",priority=0,description="Indicates if dump operation has completed" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Completed')].reason",priority=1,description="Reason for dump operation failing to complete" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Completed')].message",priority=1,description="Message for dump operation failing to complete" +kubebuilder:printcolumn:name="Dump file",type="string",JSONPath=".status.dumpFile",priority=0,description="Indicates filename of the server dump"
func (*OpenLibertyDump) DeepCopy ¶
func (in *OpenLibertyDump) DeepCopy() *OpenLibertyDump
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyDump.
func (*OpenLibertyDump) DeepCopyInto ¶
func (in *OpenLibertyDump) DeepCopyInto(out *OpenLibertyDump)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyDump) DeepCopyObject ¶
func (in *OpenLibertyDump) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenLibertyDumpInclude ¶
type OpenLibertyDumpInclude string
OpenLibertyDumpInclude defines the possible values for dump types +kubebuilder:validation:Enum=thread;heap;system
const ( //OpenLibertyDumpIncludeHeap heap dump OpenLibertyDumpIncludeHeap OpenLibertyDumpInclude = "heap" //OpenLibertyDumpIncludeThread thread dump OpenLibertyDumpIncludeThread OpenLibertyDumpInclude = "thread" //OpenLibertyDumpIncludeSystem system (core) dump OpenLibertyDumpIncludeSystem OpenLibertyDumpInclude = "system" )
type OpenLibertyDumpList ¶
type OpenLibertyDumpList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenLibertyDump `json:"items"` }
OpenLibertyDumpList contains a list of OpenLibertyDump
func (*OpenLibertyDumpList) DeepCopy ¶
func (in *OpenLibertyDumpList) DeepCopy() *OpenLibertyDumpList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyDumpList.
func (*OpenLibertyDumpList) DeepCopyInto ¶
func (in *OpenLibertyDumpList) DeepCopyInto(out *OpenLibertyDumpList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyDumpList) DeepCopyObject ¶
func (in *OpenLibertyDumpList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenLibertyDumpSpec ¶
type OpenLibertyDumpSpec struct { PodName string `json:"podName"` // +listType=set Include []OpenLibertyDumpInclude `json:"include,omitempty"` }
OpenLibertyDumpSpec defines the desired state of OpenLibertyDump +k8s:openapi-gen=true
func (*OpenLibertyDumpSpec) DeepCopy ¶
func (in *OpenLibertyDumpSpec) DeepCopy() *OpenLibertyDumpSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyDumpSpec.
func (*OpenLibertyDumpSpec) DeepCopyInto ¶
func (in *OpenLibertyDumpSpec) DeepCopyInto(out *OpenLibertyDumpSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenLibertyDumpStatus ¶
type OpenLibertyDumpStatus struct { // +listType=atomic Conditions []OperationStatusCondition `json:"conditions,omitempty"` DumpFile string `json:"dumpFile,omitempty"` }
OpenLibertyDumpStatus defines the observed state of OpenLibertyDump +k8s:openapi-gen=true
func (*OpenLibertyDumpStatus) DeepCopy ¶
func (in *OpenLibertyDumpStatus) DeepCopy() *OpenLibertyDumpStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyDumpStatus.
func (*OpenLibertyDumpStatus) DeepCopyInto ¶
func (in *OpenLibertyDumpStatus) DeepCopyInto(out *OpenLibertyDumpStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenLibertyTrace ¶
type OpenLibertyTrace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenLibertyTraceSpec `json:"spec,omitempty"` Status OpenLibertyTraceStatus `json:"status,omitempty"` }
OpenLibertyTrace is the schema for the openlibertytraces API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=openlibertytraces,scope=Namespaced,shortName=oltrace;oltraces +kubebuilder:printcolumn:name="PodName",type="string",JSONPath=".status.operatedResource.resourceName",priority=0,description="Name of the last operated pod" +kubebuilder:printcolumn:name="Tracing",type="string",JSONPath=".status.conditions[?(@.type=='Enabled')].status",priority=0,description="Status of the trace condition" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Enabled')].reason",priority=1,description="Reason for the failure of trace condition" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Enabled')].message",priority=1,description="Failure message from trace condition"
func (*OpenLibertyTrace) DeepCopy ¶
func (in *OpenLibertyTrace) DeepCopy() *OpenLibertyTrace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyTrace.
func (*OpenLibertyTrace) DeepCopyInto ¶
func (in *OpenLibertyTrace) DeepCopyInto(out *OpenLibertyTrace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyTrace) DeepCopyObject ¶
func (in *OpenLibertyTrace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OpenLibertyTrace) GetStatus ¶
func (cr *OpenLibertyTrace) GetStatus() *OpenLibertyTraceStatus
GetStatus return condition's status
type OpenLibertyTraceList ¶
type OpenLibertyTraceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenLibertyTrace `json:"items"` }
OpenLibertyTraceList contains a list of OpenLibertyTrace
func (*OpenLibertyTraceList) DeepCopy ¶
func (in *OpenLibertyTraceList) DeepCopy() *OpenLibertyTraceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyTraceList.
func (*OpenLibertyTraceList) DeepCopyInto ¶
func (in *OpenLibertyTraceList) DeepCopyInto(out *OpenLibertyTraceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyTraceList) DeepCopyObject ¶
func (in *OpenLibertyTraceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenLibertyTraceSpec ¶
type OpenLibertyTraceSpec struct { PodName string `json:"podName"` TraceSpecification string `json:"traceSpecification"` MaxFileSize *int32 `json:"maxFileSize,omitempty"` MaxFiles *int32 `json:"maxFiles,omitempty"` Disable *bool `json:"disable,omitempty"` }
OpenLibertyTraceSpec defines the desired state of OpenLibertyTrace +k8s:openapi-gen=true
func (*OpenLibertyTraceSpec) DeepCopy ¶
func (in *OpenLibertyTraceSpec) DeepCopy() *OpenLibertyTraceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyTraceSpec.
func (*OpenLibertyTraceSpec) DeepCopyInto ¶
func (in *OpenLibertyTraceSpec) DeepCopyInto(out *OpenLibertyTraceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenLibertyTraceStatus ¶
type OpenLibertyTraceStatus struct { // +listType=atomic Conditions []OperationStatusCondition `json:"conditions,omitempty"` OperatedResource OperatedResource `json:"operatedResource,omitempty"` }
OpenLibertyTraceStatus defines the observed state of OpenLibertyTrace operation +k8s:openapi-gen=true
func (*OpenLibertyTraceStatus) DeepCopy ¶
func (in *OpenLibertyTraceStatus) DeepCopy() *OpenLibertyTraceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenLibertyTraceStatus.
func (*OpenLibertyTraceStatus) DeepCopyInto ¶
func (in *OpenLibertyTraceStatus) DeepCopyInto(out *OpenLibertyTraceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenLibertyTraceStatus) GetCondition ¶
func (s *OpenLibertyTraceStatus) GetCondition(t OperationStatusConditionType) OperationStatusCondition
GetCondition ...
func (*OpenLibertyTraceStatus) GetConditions ¶
func (s *OpenLibertyTraceStatus) GetConditions() []OperationStatusCondition
GetConditions returns slice of conditions
func (*OpenLibertyTraceStatus) GetOperatedResource ¶
func (s *OpenLibertyTraceStatus) GetOperatedResource() *OperatedResource
GetOperatedResource ...
func (*OpenLibertyTraceStatus) NewCondition ¶
func (s *OpenLibertyTraceStatus) NewCondition() OperationStatusCondition
NewCondition returns new condition
func (*OpenLibertyTraceStatus) SetCondition ¶
func (s *OpenLibertyTraceStatus) SetCondition(c OperationStatusCondition)
SetCondition ...
func (*OpenLibertyTraceStatus) SetOperatedResource ¶
func (s *OpenLibertyTraceStatus) SetOperatedResource(or OperatedResource)
SetOperatedResource ...
type OperatedResource ¶
type OperatedResource struct { ResourceType string `json:"resourceType,omitempty"` ResourceName string `json:"resourceName,omitempty"` }
OperatedResource ... +k8s:openapi-gen=true
func (*OperatedResource) DeepCopy ¶
func (in *OperatedResource) DeepCopy() *OperatedResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatedResource.
func (*OperatedResource) DeepCopyInto ¶
func (in *OperatedResource) DeepCopyInto(out *OperatedResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperatedResource) GetOperatedResourceName ¶
func (or *OperatedResource) GetOperatedResourceName() string
GetOperatedResourceName get the last operated resource name
func (*OperatedResource) GetOperatedResourceType ¶
func (or *OperatedResource) GetOperatedResourceType() string
GetOperatedResourceType get the last operated resource type
func (*OperatedResource) SetOperatedResourceName ¶
func (or *OperatedResource) SetOperatedResourceName(n string)
SetOperatedResourceName sets the last operated resource name
func (*OperatedResource) SetOperatedResourceType ¶
func (or *OperatedResource) SetOperatedResourceType(t string)
SetOperatedResourceType sets the last operated resource type
type OperationStatusCondition ¶
type OperationStatusCondition struct { LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` Status corev1.ConditionStatus `json:"status,omitempty"` Type OperationStatusConditionType `json:"type,omitempty"` }
OperationStatusCondition ... +k8s:openapi-gen=true
func GetOperationCondtion ¶
func GetOperationCondtion(c []OperationStatusCondition, t OperationStatusConditionType) *OperationStatusCondition
GetOperationCondtion returns condition of specific type
func SetOperationCondtion ¶
func SetOperationCondtion(c []OperationStatusCondition, oc OperationStatusCondition) []OperationStatusCondition
SetOperationCondtion set condition of specific type or appends if not present
func (*OperationStatusCondition) DeepCopy ¶
func (in *OperationStatusCondition) DeepCopy() *OperationStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationStatusCondition.
func (*OperationStatusCondition) DeepCopyInto ¶
func (in *OperationStatusCondition) DeepCopyInto(out *OperationStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperationStatusCondition) GetLastTransitionTime ¶
func (c *OperationStatusCondition) GetLastTransitionTime() *metav1.Time
GetLastTransitionTime return time of last status change
func (*OperationStatusCondition) GetLastUpdateTime ¶
func (c *OperationStatusCondition) GetLastUpdateTime() metav1.Time
GetLastUpdateTime return time of last status update
func (*OperationStatusCondition) GetMessage ¶
func (c *OperationStatusCondition) GetMessage() string
GetMessage return condition's message
func (*OperationStatusCondition) GetReason ¶
func (c *OperationStatusCondition) GetReason() string
GetReason return condition's message
func (*OperationStatusCondition) GetStatus ¶
func (c *OperationStatusCondition) GetStatus() corev1.ConditionStatus
GetStatus return condition's status
func (*OperationStatusCondition) GetType ¶
func (c *OperationStatusCondition) GetType() OperationStatusConditionType
GetType returns status condition type
func (*OperationStatusCondition) SetLastTransitionTime ¶
func (c *OperationStatusCondition) SetLastTransitionTime(t *metav1.Time)
SetLastTransitionTime sets time of last status change
func (*OperationStatusCondition) SetLastUpdateTime ¶
func (c *OperationStatusCondition) SetLastUpdateTime(t metav1.Time)
SetLastUpdateTime sets time of last status update
func (*OperationStatusCondition) SetMessage ¶
func (c *OperationStatusCondition) SetMessage(m string)
SetMessage sets condition's message
func (*OperationStatusCondition) SetReason ¶
func (c *OperationStatusCondition) SetReason(r string)
SetReason sets condition's reason
func (*OperationStatusCondition) SetStatus ¶
func (c *OperationStatusCondition) SetStatus(s corev1.ConditionStatus)
SetStatus sets condition's status
func (*OperationStatusCondition) SetType ¶
func (c *OperationStatusCondition) SetType(ct OperationStatusConditionType)
SetType sets status condition type
type OperationStatusConditionType ¶
type OperationStatusConditionType string
OperationStatusConditionType ...
const ( // OperationStatusConditionTypeEnabled indicates whether operation is enabled OperationStatusConditionTypeEnabled OperationStatusConditionType = "Enabled" // OperationStatusConditionTypeStarted indicates whether operation has been started OperationStatusConditionTypeStarted OperationStatusConditionType = "Started" // OperationStatusConditionTypeCompleted indicates whether operation has been completed OperationStatusConditionTypeCompleted OperationStatusConditionType = "Completed" )
type ServiceBindingAuth ¶
type ServiceBindingAuth struct { // The secret that contains the username for authenticating Username corev1.SecretKeySelector `json:"username,omitempty"` // The secret that contains the password for authenticating Password corev1.SecretKeySelector `json:"password,omitempty"` }
ServiceBindingAuth allows a service to provide authentication information
func (*ServiceBindingAuth) DeepCopy ¶
func (in *ServiceBindingAuth) DeepCopy() *ServiceBindingAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingAuth.
func (*ServiceBindingAuth) DeepCopyInto ¶
func (in *ServiceBindingAuth) DeepCopyInto(out *ServiceBindingAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingAuth) GetPassword ¶
func (a *ServiceBindingAuth) GetPassword() corev1.SecretKeySelector
GetPassword returns password of a service binding auth object
func (*ServiceBindingAuth) GetUsername ¶
func (a *ServiceBindingAuth) GetUsername() corev1.SecretKeySelector
GetUsername returns username of a service binding auth object
type ServiceBindingConsumes ¶
type ServiceBindingConsumes struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` Category common.ServiceBindingCategory `json:"category"` MountPath string `json:"mountPath,omitempty"` }
ServiceBindingConsumes represents a service to be consumed +k8s:openapi-gen=true
func (*ServiceBindingConsumes) DeepCopy ¶
func (in *ServiceBindingConsumes) DeepCopy() *ServiceBindingConsumes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingConsumes.
func (*ServiceBindingConsumes) DeepCopyInto ¶
func (in *ServiceBindingConsumes) DeepCopyInto(out *ServiceBindingConsumes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingConsumes) GetCategory ¶
func (c *ServiceBindingConsumes) GetCategory() common.ServiceBindingCategory
GetCategory returns category of a service consumer configuration
func (*ServiceBindingConsumes) GetMountPath ¶
func (c *ServiceBindingConsumes) GetMountPath() string
GetMountPath returns mount path of a service consumer configuration
func (*ServiceBindingConsumes) GetName ¶
func (c *ServiceBindingConsumes) GetName() string
GetName returns service name of a service consumer configuration
func (*ServiceBindingConsumes) GetNamespace ¶
func (c *ServiceBindingConsumes) GetNamespace() string
GetNamespace returns namespace of a service consumer configuration
type ServiceBindingProvides ¶
type ServiceBindingProvides struct { Category common.ServiceBindingCategory `json:"category"` Context string `json:"context,omitempty"` Protocol string `json:"protocol,omitempty"` Auth *ServiceBindingAuth `json:"auth,omitempty"` }
ServiceBindingProvides represents information about +k8s:openapi-gen=true
func (*ServiceBindingProvides) DeepCopy ¶
func (in *ServiceBindingProvides) DeepCopy() *ServiceBindingProvides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingProvides.
func (*ServiceBindingProvides) DeepCopyInto ¶
func (in *ServiceBindingProvides) DeepCopyInto(out *ServiceBindingProvides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingProvides) GetAuth ¶
func (p *ServiceBindingProvides) GetAuth() common.ServiceBindingAuth
GetAuth returns secret of a service provider configuration
func (*ServiceBindingProvides) GetCategory ¶
func (p *ServiceBindingProvides) GetCategory() common.ServiceBindingCategory
GetCategory returns category of a service provider configuration
func (*ServiceBindingProvides) GetContext ¶
func (p *ServiceBindingProvides) GetContext() string
GetContext returns context of a service provider configuration
func (*ServiceBindingProvides) GetProtocol ¶
func (p *ServiceBindingProvides) GetProtocol() string
GetProtocol returns protocol of a service provider configuration
type StatusCondition ¶
type StatusCondition struct { LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` Status corev1.ConditionStatus `json:"status,omitempty"` Type StatusConditionType `json:"type,omitempty"` }
StatusCondition ... +k8s:openapi-gen=true
func (*StatusCondition) DeepCopy ¶
func (in *StatusCondition) DeepCopy() *StatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCondition.
func (*StatusCondition) DeepCopyInto ¶
func (in *StatusCondition) DeepCopyInto(out *StatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StatusCondition) GetLastTransitionTime ¶
func (c *StatusCondition) GetLastTransitionTime() *metav1.Time
GetLastTransitionTime return time of last status change
func (*StatusCondition) GetLastUpdateTime ¶
func (c *StatusCondition) GetLastUpdateTime() metav1.Time
GetLastUpdateTime return time of last status update
func (*StatusCondition) GetMessage ¶
func (c *StatusCondition) GetMessage() string
GetMessage return condition's message
func (*StatusCondition) GetReason ¶
func (c *StatusCondition) GetReason() string
GetReason return condition's message
func (*StatusCondition) GetStatus ¶
func (c *StatusCondition) GetStatus() corev1.ConditionStatus
GetStatus return condition's status
func (*StatusCondition) GetType ¶
func (c *StatusCondition) GetType() common.StatusConditionType
GetType returns status condition type
func (*StatusCondition) SetLastTransitionTime ¶
func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)
SetLastTransitionTime sets time of last status change
func (*StatusCondition) SetLastUpdateTime ¶
func (c *StatusCondition) SetLastUpdateTime(t metav1.Time)
SetLastUpdateTime sets time of last status update
func (*StatusCondition) SetMessage ¶
func (c *StatusCondition) SetMessage(m string)
SetMessage sets condition's message
func (*StatusCondition) SetReason ¶
func (c *StatusCondition) SetReason(r string)
SetReason sets condition's reason
func (*StatusCondition) SetStatus ¶
func (c *StatusCondition) SetStatus(s corev1.ConditionStatus)
SetStatus sets condition's status
func (*StatusCondition) SetType ¶
func (c *StatusCondition) SetType(ct common.StatusConditionType)
SetType returns status condition type
type StatusConditionType ¶
type StatusConditionType string
StatusConditionType ...
const ( // StatusConditionTypeReconciled ... StatusConditionTypeReconciled StatusConditionType = "Reconciled" // StatusConditionTypeDependenciesSatisfied ... StatusConditionTypeDependenciesSatisfied StatusConditionType = "DependenciesSatisfied" )