v1beta1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: EPL-1.0 Imports: 13 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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

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

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

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

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

GetAutoscaling returns autoscaling settings

func (*OpenLibertyApplication) GetBindings

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

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

GetRoute returns route

func (*OpenLibertyApplication) GetService

GetService returns service settings

func (*OpenLibertyApplication) GetServiceAccountName

func (cr *OpenLibertyApplication) GetServiceAccountName() *string

GetServiceAccountName returns service account name

func (*OpenLibertyApplication) GetServiceability

GetServiceability returns serviceability

func (*OpenLibertyApplication) GetSidecarContainers

func (cr *OpenLibertyApplication) GetSidecarContainers() []corev1.Container

GetSidecarContainers returns list of sidecar containers

func (*OpenLibertyApplication) GetStatus

GetStatus returns OpenLibertyApplication status

func (*OpenLibertyApplication) GetStorage

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

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

func (*OpenLibertyApplicationAffinity) DeepCopyInto

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

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

func (*OpenLibertyApplicationAutoScaling) DeepCopyInto

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

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

func (*OpenLibertyApplicationBindingExpose) DeepCopyInto

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

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

func (*OpenLibertyApplicationBindings) DeepCopyInto

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

GetEmbedded returns the embedded underlying Service Binding resource

func (*OpenLibertyApplicationBindings) GetExpose

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

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

func (*OpenLibertyApplicationList) DeepCopyInto

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

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

func (*OpenLibertyApplicationMonitoring) DeepCopyInto

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

func (*OpenLibertyApplicationMonitoring) GetEndpoints

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

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

func (*OpenLibertyApplicationRoute) DeepCopyInto

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

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

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

func (*OpenLibertyApplicationSSO) DeepCopyInto

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

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

func (*OpenLibertyApplicationService) DeepCopyInto

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

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

GetPorts returns a list of service ports

func (*OpenLibertyApplicationService) GetProvides

GetProvides returns service provider configuration

func (*OpenLibertyApplicationService) GetTargetPort

func (s *OpenLibertyApplicationService) GetTargetPort() *int32

GetTargetPort returns the internal target port for containers

func (*OpenLibertyApplicationService) GetType

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

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

func (*OpenLibertyApplicationServiceability) DeepCopyInto

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

func (*OpenLibertyApplicationServiceability) GetSize

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

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

func (*OpenLibertyApplicationSpec) DeepCopyInto

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

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

func (*OpenLibertyApplicationStatus) DeepCopyInto

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

func (*OpenLibertyApplicationStatus) GetBinding

GetBinding returns BindingStatus representing binding status

func (*OpenLibertyApplicationStatus) GetCondition

GetCondition ...

func (*OpenLibertyApplicationStatus) GetConditions

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

NewCondition returns new condition

func (*OpenLibertyApplicationStatus) SetBinding

SetBinding sets BindingStatus representing binding status

func (*OpenLibertyApplicationStatus) SetCondition

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

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

func (*OpenLibertyApplicationStorage) DeepCopyInto

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

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

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

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

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

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

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

NewCondition returns new condition

func (*OpenLibertyTraceStatus) SetCondition

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

GetOperationCondtion returns condition of specific type

func SetOperationCondtion

SetOperationCondtion set condition of specific type or appends if not present

func (*OperationStatusCondition) DeepCopy

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

GetStatus return condition's status

func (*OperationStatusCondition) GetType

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

SetStatus sets condition's status

func (*OperationStatusCondition) SetType

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

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

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

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

GetAuth returns secret of a service provider configuration

func (*ServiceBindingProvides) GetCategory

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

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

SetType returns status condition type

type StatusConditionType

type StatusConditionType string

StatusConditionType ...

const (
	// StatusConditionTypeReconciled ...
	StatusConditionTypeReconciled StatusConditionType = "Reconciled"

	// StatusConditionTypeDependenciesSatisfied ...
	StatusConditionTypeDependenciesSatisfied StatusConditionType = "DependenciesSatisfied"
)

Jump to

Keyboard shortcuts

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