v1

package
v0.0.0-...-a026134 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

Package v1 contains API Schema definitions for the v1 API group +kubebuilder:object:generate=true +groupName=liberty.websphere.ibm.com

Index

Constants

View Source
const (
	// Status Condition Types
	StatusConditionTypeReconciled     StatusConditionType = "Reconciled"
	StatusConditionTypeResourcesReady StatusConditionType = "ResourcesReady"
	StatusConditionTypeReady          StatusConditionType = "Ready"
	StatusConditionTypeWarning        StatusConditionType = "Warning"

	// Status Endpoint Scopes
	StatusEndpointScopeExternal StatusEndpointScope = "External"
	StatusEndpointScopeInternal StatusEndpointScope = "Internal"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "liberty.websphere.ibm.com", Version: "v1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type DumpStatusVersions

type DumpStatusVersions struct {
	Reconciled string `json:"reconciled,omitempty"`
}

func (*DumpStatusVersions) DeepCopy

func (in *DumpStatusVersions) DeepCopy() *DumpStatusVersions

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

func (*DumpStatusVersions) DeepCopyInto

func (in *DumpStatusVersions) DeepCopyInto(out *DumpStatusVersions)

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

type GithubLogin

type GithubLogin struct {
	// Specifies the host name of your enterprise GitHub.
	Hostname string `json:"hostname,omitempty"`
}

Represents configuration for social login using GitHub.

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 License

type License struct {
	// Product edition. Defaults to IBM WebSphere Application Server. Other options: IBM WebSphere Application Server Liberty Core, IBM WebSphere Application Server Network Deployment
	// +operator-sdk:csv:customresourcedefinitions:order=100,type=spec,displayName="Edition"
	Edition LicenseEdition `json:"edition,omitempty"`

	// Entitlement source for the product. Defaults to Standalone. Other options: IBM Enterprise Application Runtimes, IBM Cloud Pak for Applications Advanced, IBM Cloud Pak for Applications Standard, IBM WebSphere Hybrid Edition, IBM WebSphere Application Server Family Edition. Option IBM Cloud Pak for Applications is deprecated. Use option IBM Cloud Pak for Applications Standard instead.
	// +operator-sdk:csv:customresourcedefinitions:order=101,type=spec,displayName="Product Entitlement Source"
	ProductEntitlementSource LicenseEntitlement `json:"productEntitlementSource,omitempty"`

	// Deprecated. Charge metric code is now automatically determined based on the specified product edition and entitlement source.
	// +operator-sdk:csv:customresourcedefinitions:order=102,type=spec,displayName="Metric",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden"
	Metric LicenseMetric `json:"metric,omitempty"`

	// I represent that the software in the above-referenced application container includes the IBM Program referenced below and I accept the terms of the license agreement corresponding
	// to the version of IBM Program in the application container by setting this value to true. See https://ibm.biz/was-license for the license agreements applicable to this IBM Program
	// +operator-sdk:csv:customresourcedefinitions:order=103,type=spec,displayName="Accept License",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:checkbox"}
	// +kubebuilder:validation:Enum:=true
	Accept bool `json:"accept"`
}

func (*License) DeepCopy

func (in *License) DeepCopy() *License

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

func (*License) DeepCopyInto

func (in *License) DeepCopyInto(out *License)

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

type LicenseEdition

type LicenseEdition string

Defines the possible values for editions +kubebuilder:validation:Enum=IBM WebSphere Application Server;IBM WebSphere Application Server Liberty Core;IBM WebSphere Application Server Network Deployment

const (
	// Edition IBM WebSphere Application Server
	LicenseEditionBase LicenseEdition = "IBM WebSphere Application Server"
	// Edition IBM WebSphere Application Server Liberty Core
	LicenseEditionCore LicenseEdition = "IBM WebSphere Application Server Liberty Core"
	// Edition IBM WebSphere Application Server Network Deployment
	LicenseEditionND LicenseEdition = "IBM WebSphere Application Server Network Deployment"
)

type LicenseEntitlement

type LicenseEntitlement string

Defines the possible values for product entitlement source +kubebuilder:validation:Enum=Standalone;IBM Enterprise Application Runtimes;IBM Cloud Pak for Applications Advanced;IBM Cloud Pak for Applications Standard;IBM WebSphere Hybrid Edition;IBM WebSphere Application Server Family Edition;IBM Cloud Pak for Applications

const (
	// Entitlement source Standalone
	LicenseEntitlementStandalone LicenseEntitlement = "Standalone"
	// Entitlement source IBM Enterprise Application Runtimes
	LicenseEntitlementEAR LicenseEntitlement = "IBM Enterprise Application Runtimes"
	// Entitlement source IBM Cloud Pak for Applications Advanced
	LicenseEntitlementCP4AppsAdvanced LicenseEntitlement = "IBM Cloud Pak for Applications Advanced"
	// Entitlement source IBM Cloud Pak for Applications Standard
	LicenseEntitlementCP4AppsStandard LicenseEntitlement = "IBM Cloud Pak for Applications Standard"
	// Entitlement source IBM WebSphere Hybrid Edition
	LicenseEntitlementWSHE LicenseEntitlement = "IBM WebSphere Hybrid Edition"
	// Entitlement source IBM WebSphere Application Server Family Edition
	LicenseEntitlementFamilyEdition LicenseEntitlement = "IBM WebSphere Application Server Family Edition"
	// Entitlement source IBM Cloud Pak for Applications
	LicenseEntitlementCP4Apps LicenseEntitlement = "IBM Cloud Pak for Applications"
)

type LicenseMetric

type LicenseMetric string

Defines the possible values for charge metric codes +kubebuilder:validation:Enum=Virtual Processor Core (VPC);Processor Value Unit (PVU)

const (
	// Metric Virtual Processor Core (VPC)
	LicenseMetricVPC LicenseMetric = "Virtual Processor Core (VPC)"
	// Metric Processor Value Unit (PVU)
	LicenseMetricPVU LicenseMetric = "Processor Value Unit (PVU)"
)

type LicenseSimple

type LicenseSimple struct {
	// Optional. License information is no longer required for day-2 operations.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Accept License",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:checkbox"}
	// +kubebuilder:validation:Optional
	Accept bool `json:"accept"`
}

Optional. License information is no longer required for day-2 operations.

func (*LicenseSimple) DeepCopy

func (in *LicenseSimple) DeepCopy() *LicenseSimple

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

func (*LicenseSimple) DeepCopyInto

func (in *LicenseSimple) DeepCopyInto(out *LicenseSimple)

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

type OAuth2Client

type OAuth2Client struct {
	// Specifies the unique ID for the provider. The default value is oauth2.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="ID"
	ID string `json:"id,omitempty"`

	// Specifies a token endpoint URL for the OAuth 2.0 provider. Required field.
	TokenEndpoint string `json:"tokenEndpoint"`

	// Specifies an authorization endpoint URL for the OAuth 2.0 provider. Required field.
	AuthorizationEndpoint string `json:"authorizationEndpoint"`

	// Specifies the name of the claim. Use its value as the user group membership
	GroupNameAttribute string `json:"groupNameAttribute,omitempty"`

	// Specifies the name of the claim. Use its value as the authenticated user principal.
	UserNameAttribute string `json:"userNameAttribute,omitempty"`

	// The name of the social login configuration for display.
	DisplayName string `json:"displayName,omitempty"`

	// Specifies the name of the claim. Use its value as the subject realm.
	RealmNameAttribute string `json:"realmNameAttribute,omitempty"`

	// Specifies the realm name for this social media.
	RealmName string `json:"realmName,omitempty"`

	// Specifies one or more scopes to request.
	Scope string `json:"scope,omitempty"`

	// Specifies the required authentication method.
	TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod,omitempty"`

	// Name of the header to use when an OAuth access token is forwarded.
	AccessTokenHeaderName string `json:"accessTokenHeaderName,omitempty"`

	// Determines whether the access token that is provided in the request is used for authentication.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	AccessTokenRequired *bool `json:"accessTokenRequired,omitempty"`

	// Determines whether to support access token authentication if an access token is provided in the request.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	AccessTokenSupported *bool `json:"accessTokenSupported,omitempty"`

	// Indicates which specification to use for the user API.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="User API Type"
	UserApiType string `json:"userApiType,omitempty"`

	// The URL for retrieving the user information.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="User API"
	UserApi string `json:"userApi,omitempty"`
}

Represents configuration for an OAuth2 client.

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 {
	// The unique ID for the provider. Default value is oidc.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="ID"
	ID string `json:"id,omitempty"`

	// Specifies a discovery endpoint URL for the OpenID Connect provider. Required field.
	// +operator-sdk:csv:customresourcedefinitions:order=2,type=spec
	DiscoveryEndpoint string `json:"discoveryEndpoint"`

	// Specifies the name of the claim. Use its value as the user group membership.
	// +operator-sdk:csv:customresourcedefinitions:order=3,type=spec
	GroupNameAttribute string `json:"groupNameAttribute,omitempty"`

	// Specifies the name of the claim. Use its value as the authenticated user principal.
	// +operator-sdk:csv:customresourcedefinitions:order=4,type=spec
	UserNameAttribute string `json:"userNameAttribute,omitempty"`

	// The name of the social login configuration for display.
	// +operator-sdk:csv:customresourcedefinitions:order=5,type=spec
	DisplayName string `json:"displayName,omitempty"`

	// Specifies whether the UserInfo endpoint is contacted.
	// +operator-sdk:csv:customresourcedefinitions:order=6,type=spec,displayName="User Info Endpoint Enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	UserInfoEndpointEnabled *bool `json:"userInfoEndpointEnabled,omitempty"`

	// Specifies the name of the claim. Use its value as the subject realm.
	// +operator-sdk:csv:customresourcedefinitions:order=7,type=spec
	RealmNameAttribute string `json:"realmNameAttribute,omitempty"`

	// Specifies one or more scopes to request.
	// +operator-sdk:csv:customresourcedefinitions:order=8,type=spec
	Scope string `json:"scope,omitempty"`

	// Specifies the required authentication method.
	// +operator-sdk:csv:customresourcedefinitions:order=9,type=spec
	TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod,omitempty"`

	// Specifies whether to enable host name verification when the client contacts the provider.
	// +operator-sdk:csv:customresourcedefinitions:order=10,type=spec,displayName="Host Name Verification Enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	HostNameVerificationEnabled *bool `json:"hostNameVerificationEnabled,omitempty"`
}

Represents configuration for an OpenID Connect (OIDC) client.

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 OperatedResource

type OperatedResource struct {
	ResourceType string `json:"resourceType,omitempty"`
	ResourceName string `json:"resourceName,omitempty"`
}

OperatedResource ...

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 ...

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"
	// OperationStatusConditionTypeFailed indicates whether operation has failed
	OperationStatusConditionTypeFailed OperationStatusConditionType = "Failed"
)

type PerformanceDataStatusVersions

type PerformanceDataStatusVersions struct {
	Reconciled string `json:"reconciled,omitempty"`
}

func (*PerformanceDataStatusVersions) DeepCopy

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

func (*PerformanceDataStatusVersions) DeepCopyInto

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

type SemeruCompilerStatus

type SemeruCompilerStatus struct {
	TLSSecretName   string `json:"tlsSecretName,omitempty"`
	ServiceHostname string `json:"serviceHostname,omitempty"`
}

Defines SemeruCompiler status

func (*SemeruCompilerStatus) DeepCopy

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

func (*SemeruCompilerStatus) DeepCopyInto

func (in *SemeruCompilerStatus) DeepCopyInto(out *SemeruCompilerStatus)

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

type StatusCondition

type StatusCondition struct {
	LastTransitionTime *metav1.Time           `json:"lastTransitionTime,omitempty"`
	Reason             string                 `json:"reason,omitempty"`
	Message            string                 `json:"message,omitempty"`
	Status             corev1.ConditionStatus `json:"status,omitempty"`
	Type               StatusConditionType    `json:"type,omitempty"`
}

Defines possible status conditions.

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 returns time of last status change

func (*StatusCondition) GetMessage

func (c *StatusCondition) GetMessage() string

GetMessage returns condition's message

func (*StatusCondition) GetReason

func (c *StatusCondition) GetReason() string

GetReason returns condition's message

func (*StatusCondition) GetStatus

func (c *StatusCondition) GetStatus() corev1.ConditionStatus

GetStatus returns condition's status

func (*StatusCondition) GetType

GetType returns status condition type

func (*StatusCondition) SetConditionFields

func (c *StatusCondition) SetConditionFields(message string, reason string, status corev1.ConditionStatus) common.StatusCondition

SetConditionFields sets status condition fields

func (*StatusCondition) SetLastTransitionTime

func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)

SetLastTransitionTime sets time of last status change

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

Defines the type of status condition.

type StatusEndpoint

type StatusEndpoint struct {
	Name  string              `json:"name,omitempty"`
	Scope StatusEndpointScope `json:"scope,omitempty"`
	Type  string              `json:"type,omitempty"`
	// Exposed URI of the application endpoint
	// +operator-sdk:csv:customresourcedefinitions:order=60,type=status,displayName="Application",xDescriptors={"urn:alm:descriptor:org.w3:link"}
	URI string `json:"uri,omitempty"`
}

Reports endpoint information.

func (*StatusEndpoint) DeepCopy

func (in *StatusEndpoint) DeepCopy() *StatusEndpoint

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

func (*StatusEndpoint) DeepCopyInto

func (in *StatusEndpoint) DeepCopyInto(out *StatusEndpoint)

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

func (*StatusEndpoint) GetEndpointName

func (e *StatusEndpoint) GetEndpointName() string

GetEndpointName returns endpoint name in status

func (*StatusEndpoint) GetEndpointScope

func (e *StatusEndpoint) GetEndpointScope() common.StatusEndpointScope

GetEndpointScope returns endpoint scope in status

func (*StatusEndpoint) GetEndpointType

func (e *StatusEndpoint) GetEndpointType() string

GetEndpointType returns endpoint type in status

func (*StatusEndpoint) GetEndpointUri

func (e *StatusEndpoint) GetEndpointUri() string

GetEndpointUri returns endpoint uri in status

func (*StatusEndpoint) SetEndpointName

func (e *StatusEndpoint) SetEndpointName(n string)

SetEndpointName sets endpoint name in status

func (*StatusEndpoint) SetEndpointScope

func (e *StatusEndpoint) SetEndpointScope(s common.StatusEndpointScope)

SetEndpointScope sets endpoint scope in status

func (*StatusEndpoint) SetEndpointType

func (e *StatusEndpoint) SetEndpointType(t string)

SetEndpointType sets endpoint type in status

func (*StatusEndpoint) SetEndpointUri

func (e *StatusEndpoint) SetEndpointUri(u string)

SetEndpointUri sets endpoint uri in status

func (*StatusEndpoint) SetStatusEndpointFields

func (e *StatusEndpoint) SetStatusEndpointFields(eScope common.StatusEndpointScope, eType string, eUri string) common.StatusEndpoint

SetStatusEndpointFields sets endpoint information fields

type StatusEndpointScope

type StatusEndpointScope string

Defines the scope of endpoint information in status.

type StatusVersions

type StatusVersions struct {
	Reconciled string `json:"reconciled,omitempty"`
}

func (*StatusVersions) DeepCopy

func (in *StatusVersions) DeepCopy() *StatusVersions

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

func (*StatusVersions) DeepCopyInto

func (in *StatusVersions) DeepCopyInto(out *StatusVersions)

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

type TraceStatusVersions

type TraceStatusVersions struct {
	Reconciled string `json:"reconciled,omitempty"`
}

func (*TraceStatusVersions) DeepCopy

func (in *TraceStatusVersions) DeepCopy() *TraceStatusVersions

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

func (*TraceStatusVersions) DeepCopyInto

func (in *TraceStatusVersions) DeepCopyInto(out *TraceStatusVersions)

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

type WebSphereLibertyApplication

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

	Spec   WebSphereLibertyApplicationSpec   `json:"spec,omitempty"`
	Status WebSphereLibertyApplicationStatus `json:"status,omitempty"`
}

Represents the deployment of a WebSphere Liberty application. Documentation: For more information about installation parameters, see https://ibm.biz/wlo-crs. License: By installing this product, you accept the license terms at https://ibm.biz/was-license.

func (*WebSphereLibertyApplication) DeepCopy

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

func (*WebSphereLibertyApplication) DeepCopyInto

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

func (*WebSphereLibertyApplication) DeepCopyObject

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

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

func (*WebSphereLibertyApplication) GetAffinity

GetAffinity returns deployment's node and pod affinity settings

func (*WebSphereLibertyApplication) GetAnnotations

func (cr *WebSphereLibertyApplication) GetAnnotations() map[string]string

GetAnnotations returns set of annotations to be added to all resources

func (*WebSphereLibertyApplication) GetApplicationImage

func (cr *WebSphereLibertyApplication) GetApplicationImage() string

GetApplicationImage returns application image

func (*WebSphereLibertyApplication) GetApplicationName

func (cr *WebSphereLibertyApplication) GetApplicationName() string

GetApplicationName returns Application name

func (*WebSphereLibertyApplication) GetApplicationVersion

func (cr *WebSphereLibertyApplication) GetApplicationVersion() string

GetApplicationVersion returns application version

func (*WebSphereLibertyApplication) GetAutoscaling

GetAutoscaling returns autoscaling settings

func (*WebSphereLibertyApplication) GetCreateKnativeService

func (cr *WebSphereLibertyApplication) GetCreateKnativeService() *bool

GetCreateKnativeService returns flag that toggles Knative service

func (*WebSphereLibertyApplication) GetDNS

func (*WebSphereLibertyApplication) GetDeployment

GetDeployment returns deployment settings

func (cr *WebSphereLibertyApplication) GetDisableServiceLinks() *bool

GetDisableServiceLinks returns whether service links should be disabled in the pod spec

func (*WebSphereLibertyApplication) GetEnv

func (cr *WebSphereLibertyApplication) GetEnv() []corev1.EnvVar

GetEnv returns slice of environment variables

func (*WebSphereLibertyApplication) GetEnvFrom

GetEnvFrom returns slice of environment variables from source

func (*WebSphereLibertyApplication) GetExpose

func (cr *WebSphereLibertyApplication) GetExpose() *bool

GetExpose returns expose flag

func (*WebSphereLibertyApplication) GetGroupName

func (cr *WebSphereLibertyApplication) GetGroupName() string

GetGroupName returns group name to be used in labels and annotation

func (*WebSphereLibertyApplication) GetInitContainers

func (cr *WebSphereLibertyApplication) GetInitContainers() []corev1.Container

GetInitContainers returns list of init containers

func (*WebSphereLibertyApplication) GetLabels

func (cr *WebSphereLibertyApplication) GetLabels() map[string]string

GetLabels returns set of labels to be added to all resources

func (*WebSphereLibertyApplication) GetManageLTPA

func (cr *WebSphereLibertyApplication) GetManageLTPA() *bool

GetManageLTPA returns the LTPA key sharing status

func (*WebSphereLibertyApplication) GetManagePasswordEncryption

func (cr *WebSphereLibertyApplication) GetManagePasswordEncryption() *bool

GetManagePasswordEncryption returns the Password Encryption key sharing status

func (*WebSphereLibertyApplication) GetManageTLS

func (cr *WebSphereLibertyApplication) GetManageTLS() *bool

GetManageTLS returns deployment's node and pod affinity settings

func (*WebSphereLibertyApplication) GetMonitoring

GetMonitoring returns monitoring settings

func (*WebSphereLibertyApplication) GetNetworkPolicy

GetNetworkPolicy returns network policy settings

func (*WebSphereLibertyApplication) GetProbes

func (*WebSphereLibertyApplication) GetPullPolicy

func (cr *WebSphereLibertyApplication) GetPullPolicy() *corev1.PullPolicy

GetPullPolicy returns image pull policy

func (*WebSphereLibertyApplication) GetPullSecret

func (cr *WebSphereLibertyApplication) GetPullSecret() *string

GetPullSecret returns secret name for docker registry credentials

func (*WebSphereLibertyApplication) GetReplicas

func (cr *WebSphereLibertyApplication) GetReplicas() *int32

GetReplicas returns number of replicas

func (*WebSphereLibertyApplication) GetResourceConstraints

func (cr *WebSphereLibertyApplication) GetResourceConstraints() *corev1.ResourceRequirements

GetResourceConstraints returns resource constraints

func (*WebSphereLibertyApplication) GetRoute

GetRoute returns route

func (*WebSphereLibertyApplication) GetSecurityContext

func (cr *WebSphereLibertyApplication) GetSecurityContext() *corev1.SecurityContext

GetSecurityContext returns container security context

func (*WebSphereLibertyApplication) GetSemeruCloudCompiler

GetSemeruCloudCompiler returns the Semeru Cloud Compiler configuration

func (*WebSphereLibertyApplication) GetService

GetService returns service settings

func (*WebSphereLibertyApplication) GetServiceAccount

GetServiceAccount returns the service account

func (*WebSphereLibertyApplication) GetServiceAccountName

func (cr *WebSphereLibertyApplication) GetServiceAccountName() *string

GetServiceAccountName returns service account name

func (*WebSphereLibertyApplication) GetServiceability

GetServiceability returns serviceability

func (*WebSphereLibertyApplication) GetSidecarContainers

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

GetSidecarContainers returns list of sidecar containers

func (*WebSphereLibertyApplication) GetStatefulSet

GetStatefulSet returns statefulSet settings

func (*WebSphereLibertyApplication) GetStatus

GetStatus returns WebSphereLibertyApplication status

func (*WebSphereLibertyApplication) GetTolerations

func (cr *WebSphereLibertyApplication) GetTolerations() []corev1.Toleration

GetToleration returns pod tolerations slice

func (*WebSphereLibertyApplication) GetTopologySpreadConstraints

GetTopologySpreadConstraints returns the pod topology spread constraints configuration

func (*WebSphereLibertyApplication) GetVolumeMounts

func (cr *WebSphereLibertyApplication) GetVolumeMounts() []corev1.VolumeMount

GetVolumeMounts returns volume mounts slice

func (*WebSphereLibertyApplication) GetVolumes

func (cr *WebSphereLibertyApplication) GetVolumes() []corev1.Volume

GetVolumes returns volumes slice

func (*WebSphereLibertyApplication) Initialize

func (cr *WebSphereLibertyApplication) Initialize()

Initialize sets default values

type WebSphereLibertyApplicationAffinity

type WebSphereLibertyApplicationAffinity struct {
	// Controls which nodes the pod are scheduled to run on, based on labels on the node.
	// +operator-sdk:csv:customresourcedefinitions:order=37,type=spec,displayName="Node Affinity",xDescriptors="urn:alm:descriptor:com.tectonic.ui:nodeAffinity"
	NodeAffinity *corev1.NodeAffinity `json:"nodeAffinity,omitempty"`

	// Controls the nodes the pod are scheduled to run on, based on labels on the pods that are already running on the node.
	// +operator-sdk:csv:customresourcedefinitions:order=38,type=spec,displayName="Pod Affinity",xDescriptors="urn:alm:descriptor:com.tectonic.ui:podAffinity"
	PodAffinity *corev1.PodAffinity `json:"podAffinity,omitempty"`

	// Enables the ability to prevent running a pod on the same node as another pod.
	// +operator-sdk:csv:customresourcedefinitions:order=39,type=spec,displayName="Pod Anti Affinity",xDescriptors="urn:alm:descriptor:com.tectonic.ui:podAntiAffinity"
	PodAntiAffinity *corev1.PodAntiAffinity `json:"podAntiAffinity,omitempty"`

	// A YAML object that contains a set of required labels and their values.
	// +operator-sdk:csv:customresourcedefinitions:order=40,type=spec,displayName="Node Affinity Labels",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	NodeAffinityLabels map[string]string `json:"nodeAffinityLabels,omitempty"`

	// An array of architectures to be considered for deployment. Their position in the array indicates preference.
	// +listType=set
	Architecture []string `json:"architecture,omitempty"`
}

Configure pods to run on particular Nodes.

func (*WebSphereLibertyApplicationAffinity) DeepCopy

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

func (*WebSphereLibertyApplicationAffinity) DeepCopyInto

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

func (*WebSphereLibertyApplicationAffinity) GetArchitecture

func (a *WebSphereLibertyApplicationAffinity) GetArchitecture() []string

GetArchitecture returns list of architecture names

func (*WebSphereLibertyApplicationAffinity) GetNodeAffinity

GetNodeAffinity returns node affinity

func (*WebSphereLibertyApplicationAffinity) GetNodeAffinityLabels

func (a *WebSphereLibertyApplicationAffinity) GetNodeAffinityLabels() map[string]string

GetNodeAffinityLabels returns list of architecture names

func (*WebSphereLibertyApplicationAffinity) GetPodAffinity

GetPodAffinity returns pod affinity

func (*WebSphereLibertyApplicationAffinity) GetPodAntiAffinity

GetPodAntiAffinity returns pod anti-affinity

type WebSphereLibertyApplicationAutoScaling

type WebSphereLibertyApplicationAutoScaling struct {
	// Required field for autoscaling. Upper limit for the number of pods that can be set by the autoscaler. Parameter .spec.resources.requests.cpu must also be specified.
	// +kubebuilder:validation:Minimum=1
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="Max Replicas",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number"
	MaxReplicas int32 `json:"maxReplicas,omitempty"`

	// Lower limit for the number of pods that can be set by the autoscaler.
	// +operator-sdk:csv:customresourcedefinitions:order=2,type=spec,displayName="Min Replicas",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number"
	MinReplicas *int32 `json:"minReplicas,omitempty"`

	// Target average CPU utilization, represented as a percentage of requested CPU, over all the pods.
	// +operator-sdk:csv:customresourcedefinitions:order=3,type=spec,displayName="Target CPU Utilization Percentage",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number"
	TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty"`

	// Target average Memory utilization, represented as a percentage of requested memory, over all the pods.
	// +operator-sdk:csv:customresourcedefinitions:order=4,type=spec,displayName="Target Memory Utilization Percentage",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number"
	TargetMemoryUtilizationPercentage *int32 `json:"targetMemoryUtilizationPercentage,omitempty"`

	// Specifications used for replica count calculation
	Metrics []autoscalingv2.MetricSpec `json:"metrics,omitempty"`

	// Scaling behavior of the target. If not set, the default HPAScalingRules for scale up and scale down are used.
	Behavior *autoscalingv2.HorizontalPodAutoscalerBehavior `json:"behavior,omitempty"`
}

Configures the desired resource consumption of pods.

func (*WebSphereLibertyApplicationAutoScaling) DeepCopy

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

func (*WebSphereLibertyApplicationAutoScaling) DeepCopyInto

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

func (*WebSphereLibertyApplicationAutoScaling) GetHorizontalPodAutoscalerBehavior

GetHorizontalPodAutoscalerBehavior returns behavior configures the scaling behavior of the target

func (*WebSphereLibertyApplicationAutoScaling) GetMaxReplicas

func (a *WebSphereLibertyApplicationAutoScaling) GetMaxReplicas() int32

GetMaxReplicas returns maximum replicas

func (*WebSphereLibertyApplicationAutoScaling) GetMetrics

GetMetrics returns metrics for resource utilization

func (*WebSphereLibertyApplicationAutoScaling) GetMinReplicas

func (a *WebSphereLibertyApplicationAutoScaling) GetMinReplicas() *int32

GetMinReplicas returns minimum replicas

func (*WebSphereLibertyApplicationAutoScaling) GetTargetCPUUtilizationPercentage

func (a *WebSphereLibertyApplicationAutoScaling) GetTargetCPUUtilizationPercentage() *int32

GetTargetCPUUtilizationPercentage returns target cpu usage

func (*WebSphereLibertyApplicationAutoScaling) GetTargetMemoryUtilizationPercentage

func (a *WebSphereLibertyApplicationAutoScaling) GetTargetMemoryUtilizationPercentage() *int32

GetTargetMemoryUtilizationPercentage returns target memory usage

type WebSphereLibertyApplicationCertificate

type WebSphereLibertyApplicationCertificate struct {
	// Annotations to be added to the service certificate.
	// +operator-sdk:csv:customresourcedefinitions:order=13,type=spec,displayName="Annotations",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Annotations map[string]string `json:"annotations,omitempty"`
}

Configure service certificate.

func (*WebSphereLibertyApplicationCertificate) DeepCopy

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

func (*WebSphereLibertyApplicationCertificate) DeepCopyInto

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

func (*WebSphereLibertyApplicationCertificate) GetAnnotations

func (c *WebSphereLibertyApplicationCertificate) GetAnnotations() map[string]string

GetAnnotations returns annotations to be added to certificate request

type WebSphereLibertyApplicationDNS

type WebSphereLibertyApplicationDNS struct {
	// The DNS Policy for the application pod. Defaults to ClusterFirst.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="DNS Policy"
	DNSPolicy *corev1.DNSPolicy `json:"policy,omitempty"`

	// The DNS Config for the application pod.
	// +operator-sdk:csv:customresourcedefinitions:order=2,type=spec,displayName="DNS Config"
	PodDNSConfig *corev1.PodDNSConfig `json:"config,omitempty"`
}

Defines the DNS

func (*WebSphereLibertyApplicationDNS) DeepCopy

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

func (*WebSphereLibertyApplicationDNS) DeepCopyInto

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

func (*WebSphereLibertyApplicationDNS) GetConfig

func (*WebSphereLibertyApplicationDNS) GetPolicy

type WebSphereLibertyApplicationDeployment

type WebSphereLibertyApplicationDeployment struct {
	// Specifies the strategy to replace old deployment pods with new pods.
	// +operator-sdk:csv:customresourcedefinitions:order=21,type=spec,displayName="Deployment Update Strategy",xDescriptors="urn:alm:descriptor:com.tectonic.ui:updateStrategy"
	UpdateStrategy *appsv1.DeploymentStrategy `json:"updateStrategy,omitempty"`

	// Annotations to be added only to the Deployment and resources owned by the Deployment
	Annotations map[string]string `json:"annotations,omitempty"`
}

Defines the desired state and cycle of applications.

func (*WebSphereLibertyApplicationDeployment) DeepCopy

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

func (*WebSphereLibertyApplicationDeployment) DeepCopyInto

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

func (*WebSphereLibertyApplicationDeployment) GetAnnotations

func (rcd *WebSphereLibertyApplicationDeployment) GetAnnotations() map[string]string

GetAnnotations returns annotations to be added only to the Deployment and its child resources

func (*WebSphereLibertyApplicationDeployment) GetDeploymentUpdateStrategy

func (cr *WebSphereLibertyApplicationDeployment) GetDeploymentUpdateStrategy() *appsv1.DeploymentStrategy

GetDeploymentStrategy returns deployment strategy struct

type WebSphereLibertyApplicationList

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

WebSphereLibertyApplicationList contains a list of WebSphereLibertyApplication

func (*WebSphereLibertyApplicationList) DeepCopy

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

func (*WebSphereLibertyApplicationList) DeepCopyInto

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

func (*WebSphereLibertyApplicationList) DeepCopyObject

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

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

type WebSphereLibertyApplicationMonitoring

type WebSphereLibertyApplicationMonitoring struct {
	// Labels to set on ServiceMonitor.
	// +operator-sdk:csv:customresourcedefinitions:order=34,type=spec,displayName="Monitoring Labels",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Labels map[string]string `json:"labels,omitempty"`

	// A YAML snippet representing an array of Endpoint component from ServiceMonitor.
	// +listType=atomic
	// +operator-sdk:csv:customresourcedefinitions:order=35,type=spec,displayName="Monitoring Endpoints",xDescriptors="urn:alm:descriptor:com.tectonic.ui:endpointList"
	Endpoints []prometheusv1.Endpoint `json:"endpoints,omitempty"`
}

Specifies parameters for Service Monitor.

func (*WebSphereLibertyApplicationMonitoring) DeepCopy

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

func (*WebSphereLibertyApplicationMonitoring) DeepCopyInto

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

func (*WebSphereLibertyApplicationMonitoring) GetEndpoints

GetEndpoints returns endpoints to be added to ServiceMonitor

func (*WebSphereLibertyApplicationMonitoring) GetLabels

GetLabels returns labels to be added on ServiceMonitor

type WebSphereLibertyApplicationNetworkPolicy

type WebSphereLibertyApplicationNetworkPolicy struct {
	// Disable the creation of the network policy. Defaults to false.
	// +operator-sdk:csv:customresourcedefinitions:order=52,type=spec,displayName="Disable",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	Disable *bool `json:"disable,omitempty"`

	// Specify the labels of namespaces that incoming traffic is allowed from.
	// +operator-sdk:csv:customresourcedefinitions:order=53,type=spec,displayName="Namespace Labels",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	NamespaceLabels *map[string]string `json:"namespaceLabels,omitempty"`

	// Specify the labels of pod(s) that incoming traffic is allowed from.
	// +operator-sdk:csv:customresourcedefinitions:order=54,type=spec,displayName="From Labels",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	FromLabels *map[string]string `json:"fromLabels,omitempty"`
}

Defines the network policy

func (*WebSphereLibertyApplicationNetworkPolicy) DeepCopy

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

func (*WebSphereLibertyApplicationNetworkPolicy) DeepCopyInto

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

func (*WebSphereLibertyApplicationNetworkPolicy) GetFromLabels

func (np *WebSphereLibertyApplicationNetworkPolicy) GetFromLabels() map[string]string

GetFromLabels returns the pod selector labels that should be used for the ingress rule

func (*WebSphereLibertyApplicationNetworkPolicy) GetNamespaceLabels

func (np *WebSphereLibertyApplicationNetworkPolicy) GetNamespaceLabels() map[string]string

GetNamespaceLabels returns the namespace selector labels that should be used for the ingress rule

func (*WebSphereLibertyApplicationNetworkPolicy) IsDisabled

IsDisabled returns whether the network policy should be created or not

type WebSphereLibertyApplicationProbes

type WebSphereLibertyApplicationProbes struct {
	// Periodic probe of container liveness. Container will be restarted if the probe fails.
	// +operator-sdk:csv:customresourcedefinitions:order=49,type=spec,displayName="Liveness Probe"
	Liveness *corev1.Probe `json:"liveness,omitempty"`

	// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails.
	// +operator-sdk:csv:customresourcedefinitions:order=50,type=spec,displayName="Readiness Probe"
	Readiness *corev1.Probe `json:"readiness,omitempty"`

	// Probe to determine successful initialization. If specified, other probes are not executed until this completes successfully.
	// +operator-sdk:csv:customresourcedefinitions:order=51,type=spec,displayName="Startup Probe"
	Startup *corev1.Probe `json:"startup,omitempty"`
}

Define health checks on application container to determine whether it is alive or ready to receive traffic

func (*WebSphereLibertyApplicationProbes) DeepCopy

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

func (*WebSphereLibertyApplicationProbes) DeepCopyInto

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

func (*WebSphereLibertyApplicationProbes) GetDefaultLivenessProbe

func (p *WebSphereLibertyApplicationProbes) GetDefaultLivenessProbe(ba common.BaseComponent) *corev1.Probe

GetDefaultLivenessProbe returns default values for liveness probe

func (*WebSphereLibertyApplicationProbes) GetDefaultReadinessProbe

func (p *WebSphereLibertyApplicationProbes) GetDefaultReadinessProbe(ba common.BaseComponent) *corev1.Probe

GetDefaultReadinessProbe returns default values for readiness probe

func (*WebSphereLibertyApplicationProbes) GetDefaultStartupProbe

func (p *WebSphereLibertyApplicationProbes) GetDefaultStartupProbe(ba common.BaseComponent) *corev1.Probe

GetDefaultStartupProbe returns default values for startup probe

func (*WebSphereLibertyApplicationProbes) GetLivenessProbe

func (p *WebSphereLibertyApplicationProbes) GetLivenessProbe() *corev1.Probe

GetLivenessProbe returns liveness probe

func (*WebSphereLibertyApplicationProbes) GetReadinessProbe

func (p *WebSphereLibertyApplicationProbes) GetReadinessProbe() *corev1.Probe

GetReadinessProbe returns readiness probe

func (*WebSphereLibertyApplicationProbes) GetStartupProbe

func (p *WebSphereLibertyApplicationProbes) GetStartupProbe() *corev1.Probe

GetStartupProbe returns startup probe

type WebSphereLibertyApplicationProbesConfig

type WebSphereLibertyApplicationProbesConfig struct {
	WebSphereLibertyApplicationProbes `json:",inline"`

	// Inspects the container filesystem to return health checks based upon files generated by the Liberty runtime. Only supported on Liberty version 25.0.0.6 or higher.
	// +operator-sdk:csv:customresourcedefinitions:order=100,type=spec,displayName="Enable File Based",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	EnableFileBased *bool `json:"enableFileBased,omitempty"`

	// The Liberty container directory used to track file-based health checks for the 'live', 'ready', and 'started' files. Only used when .spec.probes.enableFiledBased is set to true. Defaults to /output/health.
	// +operator-sdk:csv:customresourcedefinitions:order=101,type=spec,displayName="File Directory",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	FileDirectory *string `json:"fileDirectory,omitempty"`

	// The interval at which the Liberty runtime queries to update the file-based health check files. The value is a number followed by an optional time unit of ms for milliseconds or s for seconds. Only used when .spec.probes.enableFiledBased is set to true. Defaults to 5s.
	// +operator-sdk:csv:customresourcedefinitions:order=102,type=spec,displayName="Check Interval",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	CheckInterval *string `json:"checkInterval,omitempty"`

	// The interval at which the Liberty runtime will query until an UP status is resolved and the health check file is created. The value is a number followed by an optional time unit of ms for milliseconds or s for seconds. If no time unit is specified for a value, the value is in milliseconds by default. Only used when .spec.probes.enableFiledBased is set to true. Defaults to 100ms.
	// +operator-sdk:csv:customresourcedefinitions:order=103,type=spec,displayName="Startup Check Interval",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	StartupCheckInterval *string `json:"startupCheckInterval,omitempty"`
}

func (*WebSphereLibertyApplicationProbesConfig) DeepCopy

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

func (*WebSphereLibertyApplicationProbesConfig) DeepCopyInto

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

type WebSphereLibertyApplicationRoute

type WebSphereLibertyApplicationRoute struct {

	// Annotations to be added to the Route.
	// +operator-sdk:csv:customresourcedefinitions:order=42,type=spec,displayName="Route Annotations",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Annotations map[string]string `json:"annotations,omitempty"`

	// Hostname to be used for the Route.
	// +operator-sdk:csv:customresourcedefinitions:order=43,type=spec,displayName="Route Host",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Host string `json:"host,omitempty"`

	// Path to be used for Route.
	// +operator-sdk:csv:customresourcedefinitions:order=44,type=spec,displayName="Route Path",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Path string `json:"path,omitempty"`

	// Path type to be used for Ingress. This does not apply to Route on OpenShift.
	// +operator-sdk:csv:customresourcedefinitions:order=44,type=spec,displayName="Path Type",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:select:Exact", "urn:alm:descriptor:com.tectonic.ui:select:Prefix", "urn:alm:descriptor:com.tectonic.ui:select:ImplementationSpecific"}
	PathType networkingv1.PathType `json:"pathType,omitempty"`

	// A name of a secret that already contains TLS key, certificate and CA to be used in the route. It can also contain destination CA certificate. The following keys are valid in the secret: ca.crt, destCA.crt, tls.crt, and tls.key.
	// +operator-sdk:csv:customresourcedefinitions:order=45,type=spec,displayName="Certificate Secret Reference",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	CertificateSecretRef *string `json:"certificateSecretRef,omitempty"`

	// TLS termination policy. Can be one of edge, reencrypt and passthrough.
	// +operator-sdk:csv:customresourcedefinitions:order=46,type=spec,displayName="Termination",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:select:edge", "urn:alm:descriptor:com.tectonic.ui:select:reencrypt", "urn:alm:descriptor:com.tectonic.ui:select:passthrough"}
	Termination *routev1.TLSTerminationType `json:"termination,omitempty"`

	// HTTP traffic policy with TLS enabled. Can be one of Allow, Redirect and None.
	// +operator-sdk:csv:customresourcedefinitions:order=47,type=spec,displayName="Insecure Edge Termination Policy",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:select:Allow", "urn:alm:descriptor:com.tectonic.ui:select:Redirect", "urn:alm:descriptor:com.tectonic.ui:select:None"}
	InsecureEdgeTerminationPolicy *routev1.InsecureEdgeTerminationPolicyType `json:"insecureEdgeTerminationPolicy,omitempty"`
}

Configures the ingress resource.

func (*WebSphereLibertyApplicationRoute) DeepCopy

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

func (*WebSphereLibertyApplicationRoute) DeepCopyInto

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

func (*WebSphereLibertyApplicationRoute) GetAnnotations

func (r *WebSphereLibertyApplicationRoute) GetAnnotations() map[string]string

GetAnnotations returns route annotations

func (*WebSphereLibertyApplicationRoute) GetCertificateSecretRef

func (r *WebSphereLibertyApplicationRoute) GetCertificateSecretRef() *string

GetCertificateSecretRef returns a secret reference with a certificate

func (*WebSphereLibertyApplicationRoute) GetHost

GetHost returns hostname to be used by the route

func (*WebSphereLibertyApplicationRoute) GetInsecureEdgeTerminationPolicy

func (r *WebSphereLibertyApplicationRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType

GetInsecureEdgeTerminationPolicy returns terminatation of the route's TLS

func (*WebSphereLibertyApplicationRoute) GetPath

GetPath returns path to use for the route

func (*WebSphereLibertyApplicationRoute) GetPathType

GetPathType returns pathType to use for the route

func (*WebSphereLibertyApplicationRoute) GetTermination

GetTermination returns terminatation of the route's TLS

type WebSphereLibertyApplicationSSO

type WebSphereLibertyApplicationSSO struct {
	// +listType=atomic
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="OIDC"
	OIDC []OidcClient `json:"oidc,omitempty"`

	// +listType=atomic
	// +operator-sdk:csv:customresourcedefinitions:order=2,type=spec,displayName="OAuth2"
	Oauth2 []OAuth2Client `json:"oauth2,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=3,type=spec,displayName="GitHub"
	Github *GithubLogin `json:"github,omitempty"`

	// Specifies a callback protocol, host and port number.
	// +operator-sdk:csv:customresourcedefinitions:order=4,type=spec,displayName="Redirect to RP Host and Port"
	RedirectToRPHostAndPort string `json:"redirectToRPHostAndPort,omitempty"`

	// Specifies whether to map a user identifier to a registry user. This parameter applies to all providers.
	// +operator-sdk:csv:customresourcedefinitions:order=5,type=spec,displayName="Map to User Registry",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	MapToUserRegistry *bool `json:"mapToUserRegistry,omitempty"`
}

Specifies the configuration for Single Sign-On (SSO) providers to authenticate with.

func (*WebSphereLibertyApplicationSSO) DeepCopy

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

func (*WebSphereLibertyApplicationSSO) DeepCopyInto

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

type WebSphereLibertyApplicationSemeruCloudCompiler

type WebSphereLibertyApplicationSemeruCloudCompiler struct {
	// Enable the Semeru Cloud Compiler. Defaults to false.
	// +operator-sdk:csv:customresourcedefinitions:order=52,type=spec,displayName="Enable",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
	Enable bool `json:"enable,omitempty"`
	// Number of desired pods for the Semeru Cloud Compiler. Defaults to 1.
	// +operator-sdk:csv:customresourcedefinitions:order=53,type=spec,displayName="Replicas",xDescriptors="urn:alm:descriptor:com.tectonic.ui:podCount"
	Replicas *int32 `json:"replicas,omitempty"`
	// Resource requests and limits for the Semeru Cloud Compiler. The CPU defaults to 100m with a limit of 2000m. The memory defaults to 800Mi, with a limit of 1200Mi.
	// +operator-sdk:csv:customresourcedefinitions:order=54,type=spec,displayName="Resource Requirements",xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements"
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}

func (*WebSphereLibertyApplicationSemeruCloudCompiler) DeepCopy

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

func (*WebSphereLibertyApplicationSemeruCloudCompiler) DeepCopyInto

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

func (*WebSphereLibertyApplicationSemeruCloudCompiler) GetReplicas

GetReplicas returns the replicas for Semeru Cloud Compiler if specified, otherwise 1

type WebSphereLibertyApplicationService

type WebSphereLibertyApplicationService struct {
	// The port exposed by the container.
	// +kubebuilder:validation:Maximum=65535
	// +kubebuilder:validation:Minimum=1
	// +operator-sdk:csv:customresourcedefinitions:order=9,type=spec,displayName="Service Port",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number"
	Port int32 `json:"port,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=10,type=spec,displayName="Service Type",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Type *corev1.ServiceType `json:"type,omitempty"`

	// Node proxies this port into your service.
	// +kubebuilder:validation:Maximum=32767
	// +kubebuilder:validation:Minimum=30000
	// +operator-sdk:csv:customresourcedefinitions:order=11,type=spec,displayName="Node Port",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number"
	NodePort *int32 `json:"nodePort,omitempty"`

	// The name for the port exposed by the container.
	// +operator-sdk:csv:customresourcedefinitions:order=12,type=spec,displayName="Port Name",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	PortName string `json:"portName,omitempty"`

	// Annotations to be added to the service.
	// +operator-sdk:csv:customresourcedefinitions:order=13,type=spec,displayName="Service Annotations",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Annotations map[string]string `json:"annotations,omitempty"`

	// The port that the operator assigns to containers inside pods. Defaults to the value of .spec.service.port.
	// +kubebuilder:validation:Maximum=65535
	// +kubebuilder:validation:Minimum=1
	// +operator-sdk:csv:customresourcedefinitions:order=14,type=spec,displayName="Target Port",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number"
	TargetPort *int32 `json:"targetPort,omitempty"`

	// A name of a secret that already contains TLS key, certificate and CA to be mounted in the pod. The following keys are valid in the secret: ca.crt, tls.crt, and tls.key.
	// +operator-sdk:csv:customresourcedefinitions:order=15,type=spec,displayName="Certificate Secret Reference",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	CertificateSecretRef *string `json:"certificateSecretRef,omitempty"`

	// Configure service certificate.
	// +operator-sdk:csv:customresourcedefinitions:order=16,type=spec,displayName="Service Certificate"
	Certificate *WebSphereLibertyApplicationCertificate `json:"certificate,omitempty"`

	// An array consisting of service ports.
	// +operator-sdk:csv:customresourcedefinitions:order=17,type=spec
	Ports []corev1.ServicePort `json:"ports,omitempty"`

	// Expose the application as a bindable service. Defaults to false.
	// +operator-sdk:csv:customresourcedefinitions:order=18,type=spec,displayName="Bindable",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	Bindable *bool `json:"bindable,omitempty"`

	// Configure service session affinity.
	// +operator-sdk:csv:customresourcedefinitions:order=19,type=spec
	SessionAffinity *WebSphereLibertyApplicationServiceSessionAffinity `json:"sessionAffinity,omitempty"`
}

Configures parameters for the network service of pods.

func (*WebSphereLibertyApplicationService) DeepCopy

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

func (*WebSphereLibertyApplicationService) DeepCopyInto

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

func (*WebSphereLibertyApplicationService) GetAnnotations

func (s *WebSphereLibertyApplicationService) GetAnnotations() map[string]string

GetAnnotations returns a set of annotations to be added to the service

func (*WebSphereLibertyApplicationService) GetBindable

func (s *WebSphereLibertyApplicationService) GetBindable() *bool

GetBindable returns whether the application should be exposable as a service

func (*WebSphereLibertyApplicationService) GetCertificate

GetCertificate returns a service certificate configuration

func (*WebSphereLibertyApplicationService) GetCertificateSecretRef

func (s *WebSphereLibertyApplicationService) GetCertificateSecretRef() *string

GetCertificateSecretRef returns a secret reference with a certificate

func (*WebSphereLibertyApplicationService) GetNodePort

func (s *WebSphereLibertyApplicationService) GetNodePort() *int32

GetNodePort returns service nodePort

func (*WebSphereLibertyApplicationService) GetPort

GetPort returns service port

func (*WebSphereLibertyApplicationService) GetPortName

func (s *WebSphereLibertyApplicationService) GetPortName() string

GetPortName returns name of service port

func (*WebSphereLibertyApplicationService) GetPorts

GetPorts returns a list of service ports

func (*WebSphereLibertyApplicationService) GetSessionAffinity

GetSessionAffinity returns the session affinity settings for the service

func (*WebSphereLibertyApplicationService) GetTargetPort

func (s *WebSphereLibertyApplicationService) GetTargetPort() *int32

GetTargetPort returns the internal target port for containers

func (*WebSphereLibertyApplicationService) GetType

GetType returns service type

type WebSphereLibertyApplicationServiceAccount

type WebSphereLibertyApplicationServiceAccount struct {
	// Whether the Service Account token should be mounted into the application pods. Defaults to true.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="Mount Service Account Token",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	MountToken *bool `json:"mountToken,omitempty"`

	// Name of the service account to use for deploying the application. A service account is automatically created if this is not specified.
	// +operator-sdk:csv:customresourcedefinitions:order=2,type=spec,displayName="Service Account Name",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Name *string `json:"name,omitempty"`

	// Skip verifying that the service account has a valid pull secret. Defaults to false.
	// +operator-sdk:csv:customresourcedefinitions:order=3,type=spec,displayName="Skip service account pull secret validation",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	SkipPullSecretValidation *bool `json:"skipPullSecretValidation,omitempty"`
}

Defines the service account

func (*WebSphereLibertyApplicationServiceAccount) DeepCopy

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

func (*WebSphereLibertyApplicationServiceAccount) DeepCopyInto

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

func (*WebSphereLibertyApplicationServiceAccount) GetMountToken

func (sa *WebSphereLibertyApplicationServiceAccount) GetMountToken() *bool

GetMountToken returns whether the service account token should be mounted

func (*WebSphereLibertyApplicationServiceAccount) GetName

GetName returns the service account name

func (*WebSphereLibertyApplicationServiceAccount) GetSkipPullSecretValidation

func (sa *WebSphereLibertyApplicationServiceAccount) GetSkipPullSecretValidation() *bool

GetSkipPullSecretValidation returns whether pull secrets should be validated

type WebSphereLibertyApplicationServiceSessionAffinity

type WebSphereLibertyApplicationServiceSessionAffinity struct {
	// Setting to maintain session affinity. Must be ClientIP or None. Defaults to None.
	// +operator-sdk:csv:customresourcedefinitions:order=20,type=spec,displayName="Session Affinity Type",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Type v1.ServiceAffinity `json:"type,omitempty"`

	// Configurations of session affinity.
	// +operator-sdk:csv:customresourcedefinitions:order=21,type=spec
	Config *corev1.SessionAffinityConfig `json:"config,omitempty"`
}

Configure service session affinity

func (*WebSphereLibertyApplicationServiceSessionAffinity) DeepCopy

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

func (*WebSphereLibertyApplicationServiceSessionAffinity) DeepCopyInto

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

func (*WebSphereLibertyApplicationServiceSessionAffinity) GetConfig

GetConfig returns the session affinity configuration for the service

func (*WebSphereLibertyApplicationServiceSessionAffinity) GetType

GetType returns the session affinity type for the service

type WebSphereLibertyApplicationServiceability

type WebSphereLibertyApplicationServiceability struct {
	// A convenient field to request the size of the persisted storage to use for serviceability.
	// +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
	Size string `json:"size,omitempty"`

	// The name of the PersistentVolumeClaim resource you created to be used for serviceability.
	// +kubebuilder:validation:Pattern=.+
	VolumeClaimName string `json:"volumeClaimName,omitempty"`

	// A convenient field to request the StorageClassName of the persisted storage to use for serviceability.
	// +kubebuilder:validation:Pattern=.+
	StorageClassName string `json:"storageClassName,omitempty"`
}

Specifies serviceability-related operations, such as gathering server memory dumps and server traces.

func (*WebSphereLibertyApplicationServiceability) DeepCopy

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

func (*WebSphereLibertyApplicationServiceability) DeepCopyInto

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

func (*WebSphereLibertyApplicationServiceability) GetSize

GetSize returns pesistent volume size for Serviceability

func (*WebSphereLibertyApplicationServiceability) GetVolumeClaimName

func (s *WebSphereLibertyApplicationServiceability) GetVolumeClaimName() string

GetVolumeClaimName returns the name of custom PersistentVolumeClaim (PVC) for Serviceability. Must be in the same namespace as the WebSphereLibertyApplication.

type WebSphereLibertyApplicationSpec

type WebSphereLibertyApplicationSpec struct {

	// The license must be reviewed and accepted before the application can be deployed.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="License",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	License License `json:"license"`

	// Application image to deploy.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="Application Image",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	ApplicationImage string `json:"applicationImage"`

	// Name of the application. Defaults to the name of this custom resource.
	// +operator-sdk:csv:customresourcedefinitions:order=2,type=spec,displayName="Application Name",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	ApplicationName string `json:"applicationName,omitempty"`

	// Version of the application.
	// +operator-sdk:csv:customresourcedefinitions:order=3,type=spec,displayName="Application Version",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	ApplicationVersion string `json:"applicationVersion,omitempty"`

	// Policy for pulling container images. Defaults to IfNotPresent.
	// +operator-sdk:csv:customresourcedefinitions:order=4,type=spec,displayName="Pull Policy",xDescriptors="urn:alm:descriptor:com.tectonic.ui:imagePullPolicy"
	PullPolicy *corev1.PullPolicy `json:"pullPolicy,omitempty"`

	// Name of the Secret to use to pull images from the specified repository. It is not required if the cluster is configured with a global image pull secret.
	// +operator-sdk:csv:customresourcedefinitions:order=5,type=spec,displayName="Pull Secret",xDescriptors="urn:alm:descriptor:io.kubernetes:Secret"
	PullSecret *string `json:"pullSecret,omitempty"`

	// Deprecated. .spec.serviceAccount.name should be used instead. If both are specified, .spec.serviceAccount.name will override this.
	// +operator-sdk:csv:customresourcedefinitions:order=6,type=spec,displayName="Service Account Name",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden"
	ServiceAccountName *string `json:"serviceAccountName,omitempty"`

	// The service account to use for deploying the application. A service account is automatically created if this is not specifed.
	// +operator-sdk:csv:customresourcedefinitions:order=6,type=spec,displayName="Service Account"
	ServiceAccount *WebSphereLibertyApplicationServiceAccount `json:"serviceAccount,omitempty"`

	// Create Knative resources and use Knative serving.
	// +operator-sdk:csv:customresourcedefinitions:order=7,type=spec,displayName="Create Knative Service",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	CreateKnativeService *bool `json:"createKnativeService,omitempty"`

	// Expose the application externally via a Route, a Knative Route or an Ingress resource.
	// +operator-sdk:csv:customresourcedefinitions:order=8,type=spec,displayName="Expose",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	Expose *bool `json:"expose,omitempty"`

	// Enable management of password encryption key sharing amongst Liberty containers. Defaults to false.
	// +operator-sdk:csv:customresourcedefinitions:order=9,type=spec,displayName="Manage Password Encryption",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	ManagePasswordEncryption *bool `json:"managePasswordEncryption,omitempty"`

	// Enable management of LTPA key sharing amongst Liberty containers. Defaults to false.
	// +operator-sdk:csv:customresourcedefinitions:order=10,type=spec,displayName="Manage LTPA",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	ManageLTPA *bool `json:"manageLTPA,omitempty"`

	// Enable management of TLS certificates. Defaults to true.
	// +operator-sdk:csv:customresourcedefinitions:order=11,type=spec,displayName="Manage TLS",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	ManageTLS *bool `json:"manageTLS,omitempty"`

	// Number of pods to create. Defaults to 1. Not applicable when .spec.autoscaling or .spec.createKnativeService is specified.
	// +operator-sdk:csv:customresourcedefinitions:order=12,type=spec,displayName="Replicas",xDescriptors="urn:alm:descriptor:com.tectonic.ui:podCount"
	Replicas *int32 `json:"replicas,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=13,type=spec,displayName="Auto Scaling"
	Autoscaling *WebSphereLibertyApplicationAutoScaling `json:"autoscaling,omitempty"`

	// Resource requests and limits for the application container.
	// +operator-sdk:csv:customresourcedefinitions:order=14,type=spec,displayName="Resource Requirements",xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements"
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=15,type=spec,displayName="Probes"
	Probes *WebSphereLibertyApplicationProbesConfig `json:"probes,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=16,type=spec,displayName="Deployment"
	Deployment *WebSphereLibertyApplicationDeployment `json:"deployment,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=17,type=spec,displayName="StatefulSet"
	StatefulSet *WebSphereLibertyApplicationStatefulSet `json:"statefulSet,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=18,type=spec,displayName="Service"
	Service *WebSphereLibertyApplicationService `json:"service,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=19,type=spec,displayName="Route"
	Route *WebSphereLibertyApplicationRoute `json:"route,omitempty"`

	// Configures the Semeru Cloud Compiler to handle Just-In-Time (JIT) compilation requests from the application.
	// +operator-sdk:csv:customresourcedefinitions:order=20,type=spec,displayName="Semeru Cloud Compiler"
	SemeruCloudCompiler *WebSphereLibertyApplicationSemeruCloudCompiler `json:"semeruCloudCompiler,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=21,type=spec,displayName="Network Policy"
	NetworkPolicy *WebSphereLibertyApplicationNetworkPolicy `json:"networkPolicy,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=22,type=spec,displayName="Serviceability"
	Serviceability *WebSphereLibertyApplicationServiceability `json:"serviceability,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=23,type=spec,displayName="Single Sign-On"
	SSO *WebSphereLibertyApplicationSSO `json:"sso,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=24,type=spec,displayName="Monitoring"
	Monitoring *WebSphereLibertyApplicationMonitoring `json:"monitoring,omitempty"`

	// An array of environment variables for the application container.
	// +listType=map
	// +listMapKey=name
	// +operator-sdk:csv:customresourcedefinitions:order=25,type=spec,displayName="Environment Variables"
	Env []corev1.EnvVar `json:"env,omitempty"`

	// List of sources to populate environment variables in the application container.
	// +listType=atomic
	// +operator-sdk:csv:customresourcedefinitions:order=26,type=spec,displayName="Environment Variables from Sources"
	EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"`

	// Represents a volume with data that is accessible to the application container.
	// +listType=map
	// +listMapKey=name
	// +operator-sdk:csv:customresourcedefinitions:order=27,type=spec,displayName="Volumes"
	Volumes []corev1.Volume `json:"volumes,omitempty"`

	// Represents where to mount the volumes into the application container.
	// +listType=atomic
	// +operator-sdk:csv:customresourcedefinitions:order=28,type=spec,displayName="Volume Mounts"
	VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`

	// List of containers to run before other containers in a pod.
	// +listType=map
	// +listMapKey=name
	// +operator-sdk:csv:customresourcedefinitions:order=29,type=spec,displayName="Init Containers"
	InitContainers []corev1.Container `json:"initContainers,omitempty"`

	// List of sidecar containers. These are additional containers to be added to the pods.
	// +listType=map
	// +listMapKey=name
	// +operator-sdk:csv:customresourcedefinitions:order=30,type=spec,displayName="Sidecar Containers"
	SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=31,type=spec,displayName="Affinity"
	Affinity *WebSphereLibertyApplicationAffinity `json:"affinity,omitempty"`

	// Security context for the application container.
	// +operator-sdk:csv:customresourcedefinitions:order=32,type=spec,displayName="Security Context"
	SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=33,type=spec,displayName="Topology Spread Constraints"
	TopologySpreadConstraints *WebSphereLibertyApplicationTopologySpreadConstraints `json:"topologySpreadConstraints,omitempty"`

	// Disable information about services being injected into the application pod's environment variables. Default to false.
	// +operator-sdk:csv:customresourcedefinitions:order=34,type=spec,displayName="Disable Service Links",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	DisableServiceLinks *bool `json:"disableServiceLinks,omitempty"`

	// Tolerations to be added to application pods. Tolerations allow the scheduler to schedule pods on nodes with matching taints.
	// +operator-sdk:csv:customresourcedefinitions:order=35,type=spec,displayName="Tolerations"
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

	// DNS settings for the application pod.
	// +operator-sdk:csv:customresourcedefinitions:order=36,type=spec,displayName="DNS"
	DNS *WebSphereLibertyApplicationDNS `json:"dns,omitempty"`
}

Defines the desired state of WebSphereLibertyApplication.

func (*WebSphereLibertyApplicationSpec) DeepCopy

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

func (*WebSphereLibertyApplicationSpec) DeepCopyInto

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

type WebSphereLibertyApplicationStatefulSet

type WebSphereLibertyApplicationStatefulSet struct {
	// Specifies the strategy to replace old StatefulSet pods with new pods.
	// +operator-sdk:csv:customresourcedefinitions:order=23,type=spec,displayName="StatefulSet Update Strategy"
	UpdateStrategy *appsv1.StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=24,type=spec,displayName="Storage"
	Storage *WebSphereLibertyApplicationStorage `json:"storage,omitempty"`

	// Annotations to be added only to the StatefulSet and resources owned by the StatefulSet.
	Annotations map[string]string `json:"annotations,omitempty"`
}

Defines the desired state and cycle of stateful applications.

func (*WebSphereLibertyApplicationStatefulSet) DeepCopy

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

func (*WebSphereLibertyApplicationStatefulSet) DeepCopyInto

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

func (*WebSphereLibertyApplicationStatefulSet) GetAnnotations

func (rcss *WebSphereLibertyApplicationStatefulSet) GetAnnotations() map[string]string

GetAnnotations returns annotations to be added only to the StatefulSet and its child resources

func (*WebSphereLibertyApplicationStatefulSet) GetStatefulSetUpdateStrategy

func (cr *WebSphereLibertyApplicationStatefulSet) GetStatefulSetUpdateStrategy() *appsv1.StatefulSetUpdateStrategy

GetStatefulSetUpdateStrategy returns statefulSet strategy struct

func (*WebSphereLibertyApplicationStatefulSet) GetStorage

GetStorage returns storage settings

type WebSphereLibertyApplicationStatus

type WebSphereLibertyApplicationStatus struct {
	// +listType=atomic
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Status Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
	Conditions           []StatusCondition `json:"conditions,omitempty"`
	Endpoints            []StatusEndpoint  `json:"endpoints,omitempty"`
	RouteAvailable       *bool             `json:"routeAvailable,omitempty"`
	ImageReference       string            `json:"imageReference,omitempty"`
	PulledImageReference string            `json:"pulledImageReference,omitempty"`
	Versions             StatusVersions    `json:"versions,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:order=61,type=status,displayName="Service Binding"
	Binding *corev1.LocalObjectReference `json:"binding,omitempty"`

	References common.StatusReferences `json:"references,omitempty"`

	SemeruCompiler *SemeruCompilerStatus `json:"semeruCompiler,omitempty"`

	// The generation identifier of this WebSphereLibertyApplication instance completely reconciled by the Operator.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// The reconciliation interval in seconds.
	ReconcileInterval *int32 `json:"reconcileInterval,omitempty"`
}

Defines the observed state of WebSphereLibertyApplication.

func (*WebSphereLibertyApplicationStatus) DeepCopy

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

func (*WebSphereLibertyApplicationStatus) DeepCopyInto

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

func (*WebSphereLibertyApplicationStatus) GetBinding

GetBinding returns BindingStatus representing binding status

func (*WebSphereLibertyApplicationStatus) GetCondition

GetCondition returns status condition with status condition type

func (*WebSphereLibertyApplicationStatus) GetConditions

GetConditions returns slice of conditions

func (*WebSphereLibertyApplicationStatus) GetImageReference

func (s *WebSphereLibertyApplicationStatus) GetImageReference() string

GetImageReference returns Docker image reference to be deployed by the CR

func (*WebSphereLibertyApplicationStatus) GetLatestTransitionTime

func (s *WebSphereLibertyApplicationStatus) GetLatestTransitionTime() *metav1.Time

GetLatestTransitionTime returns latest time of status change

func (*WebSphereLibertyApplicationStatus) GetReconcileInterval

func (s *WebSphereLibertyApplicationStatus) GetReconcileInterval() *int32

func (*WebSphereLibertyApplicationStatus) GetReferences

func (*WebSphereLibertyApplicationStatus) GetStatusEndpoint

func (s *WebSphereLibertyApplicationStatus) GetStatusEndpoint(endpointName string) common.StatusEndpoint

GetStatusEndpoint returns endpoint information with endpoint name

func (*WebSphereLibertyApplicationStatus) NewCondition

NewCondition returns new condition

func (*WebSphereLibertyApplicationStatus) NewStatusEndpoint

func (s *WebSphereLibertyApplicationStatus) NewStatusEndpoint(endpointName string) common.StatusEndpoint

NewStatusEndpoint returns new endpoint information

func (*WebSphereLibertyApplicationStatus) RemoveStatusEndpoint

func (s *WebSphereLibertyApplicationStatus) RemoveStatusEndpoint(endpointName string)

RemoveEndpoint removes endpoint in status

func (*WebSphereLibertyApplicationStatus) SetBinding

SetBinding sets BindingStatus representing binding status

func (*WebSphereLibertyApplicationStatus) SetCondition

SetCondition sets status condition

func (*WebSphereLibertyApplicationStatus) SetImageReference

func (s *WebSphereLibertyApplicationStatus) SetImageReference(imageReference string)

SetImageReference sets Docker image reference on the status portion of the CR

func (*WebSphereLibertyApplicationStatus) SetReconcileInterval

func (s *WebSphereLibertyApplicationStatus) SetReconcileInterval(interval *int32)

func (*WebSphereLibertyApplicationStatus) SetReference

func (s *WebSphereLibertyApplicationStatus) SetReference(name string, value string)

func (*WebSphereLibertyApplicationStatus) SetReferences

func (*WebSphereLibertyApplicationStatus) SetStatusEndpoint

SetStatusEndpoint sets endpoint in status

func (*WebSphereLibertyApplicationStatus) UnsetCondition

func (*WebSphereLibertyApplicationStatus) UnsetReconcileInterval

func (s *WebSphereLibertyApplicationStatus) UnsetReconcileInterval()

type WebSphereLibertyApplicationStorage

type WebSphereLibertyApplicationStorage struct {
	// A convenient field to set the size of the persisted storage.
	// +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
	// +operator-sdk:csv:customresourcedefinitions:order=25,type=spec,displayName="Storage Size",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	Size string `json:"size,omitempty"`

	// A convenient field to request the storage class of the persisted storage. The name can not be specified or updated after the storage is created.
	// +kubebuilder:validation:Pattern=.+
	// +operator-sdk:csv:customresourcedefinitions:order=26,type=spec,displayName="Storage Class Name",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	ClassName string `json:"className,omitempty"`

	// The directory inside the container where this persisted storage will be bound to.
	// +operator-sdk:csv:customresourcedefinitions:order=27,type=spec,displayName="Storage Mount Path",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	MountPath string `json:"mountPath,omitempty"`

	// A YAML object that represents a volumeClaimTemplate component of a StatefulSet.
	// +operator-sdk:csv:customresourcedefinitions:order=28,type=spec,displayName="Storage Volume Claim Template",xDescriptors="urn:alm:descriptor:com.tectonic.ui:PersistentVolumeClaim"
	VolumeClaimTemplate *corev1.PersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"`
}

Defines settings of persisted storage for StatefulSets.

func (*WebSphereLibertyApplicationStorage) DeepCopy

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

func (*WebSphereLibertyApplicationStorage) DeepCopyInto

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

func (*WebSphereLibertyApplicationStorage) GetClassName

func (s *WebSphereLibertyApplicationStorage) GetClassName() string

GetClassName returns persistent volume ClassName

func (*WebSphereLibertyApplicationStorage) GetMountPath

func (s *WebSphereLibertyApplicationStorage) GetMountPath() string

GetMountPath returns mount path for persistent volume

func (*WebSphereLibertyApplicationStorage) GetSize

GetSize returns pesistent volume size

func (*WebSphereLibertyApplicationStorage) GetVolumeClaimTemplate

GetVolumeClaimTemplate returns a template representing requested persistent volume

type WebSphereLibertyApplicationTopologySpreadConstraints

type WebSphereLibertyApplicationTopologySpreadConstraints struct {
	// The list of TopologySpreadConstraints for the application instance and if applicable, the Semeru Cloud Compiler instance.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="Constraints"
	Constraints *[]corev1.TopologySpreadConstraint `json:"constraints,omitempty"`

	// Whether the operator should disable its default set of TopologySpreadConstraints. Defaults to false.
	// +operator-sdk:csv:customresourcedefinitions:order=2,type=spec,displayName="Disable Operator Defaults",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	DisableOperatorDefaults *bool `json:"disableOperatorDefaults,omitempty"`
}

Defines the topology spread constraints

func (*WebSphereLibertyApplicationTopologySpreadConstraints) DeepCopy

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

func (*WebSphereLibertyApplicationTopologySpreadConstraints) DeepCopyInto

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

func (*WebSphereLibertyApplicationTopologySpreadConstraints) GetConstraints

func (*WebSphereLibertyApplicationTopologySpreadConstraints) GetDisableOperatorDefaults

func (cr *WebSphereLibertyApplicationTopologySpreadConstraints) GetDisableOperatorDefaults() *bool

type WebSphereLibertyDump

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

	Spec   WebSphereLibertyDumpSpec   `json:"spec,omitempty"`
	Status WebSphereLibertyDumpStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=webspherelibertydumps,scope=Namespaced,shortName=wldump;wldumps +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" +operator-sdk:csv:customresourcedefinitions:displayName="WebSphereLibertyDump" Day-2 operation for generating server dumps. Documentation: For more information about installation parameters, see https://ibm.biz/wlo-crs. License: By installing this product, you accept the license terms at https://ibm.biz/was-license.

func (*WebSphereLibertyDump) DeepCopy

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

func (*WebSphereLibertyDump) DeepCopyInto

func (in *WebSphereLibertyDump) DeepCopyInto(out *WebSphereLibertyDump)

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

func (*WebSphereLibertyDump) DeepCopyObject

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

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

type WebSphereLibertyDumpInclude

type WebSphereLibertyDumpInclude string

Defines the possible values for dump types +kubebuilder:validation:Enum=thread;heap;system

const (
	//WebSphereLibertyDumpIncludeHeap heap dump
	WebSphereLibertyDumpIncludeHeap WebSphereLibertyDumpInclude = "heap"
	//WebSphereLibertyDumpIncludeThread thread dump
	WebSphereLibertyDumpIncludeThread WebSphereLibertyDumpInclude = "thread"
	//WebSphereLibertyDumpIncludeSystem system (core) dump
	WebSphereLibertyDumpIncludeSystem WebSphereLibertyDumpInclude = "system"
)

type WebSphereLibertyDumpList

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

+kubebuilder:object:root=true WebSphereLibertyDumpList contains a list of WebSphereLibertyDump

func (*WebSphereLibertyDumpList) DeepCopy

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

func (*WebSphereLibertyDumpList) DeepCopyInto

func (in *WebSphereLibertyDumpList) DeepCopyInto(out *WebSphereLibertyDumpList)

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

func (*WebSphereLibertyDumpList) DeepCopyObject

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

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

type WebSphereLibertyDumpSpec

type WebSphereLibertyDumpSpec struct {

	// Optional. License information is no longer required for the dump operation.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="License",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	// +kubebuilder:validation:Optional
	License LicenseSimple `json:"license,omitempty"`

	// The name of the Pod, which must be in the same namespace as the WebSphereLibertyDump CR.
	PodName string `json:"podName"`
	// Optional. List of memory dump types to request: thread, heap, system.
	// +listType=set
	Include []WebSphereLibertyDumpInclude `json:"include,omitempty"`
}

WebSphereLibertyDumpSpec defines the desired state of WebSphereLibertyDump

func (*WebSphereLibertyDumpSpec) DeepCopy

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

func (*WebSphereLibertyDumpSpec) DeepCopyInto

func (in *WebSphereLibertyDumpSpec) DeepCopyInto(out *WebSphereLibertyDumpSpec)

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

type WebSphereLibertyDumpStatus

type WebSphereLibertyDumpStatus struct {
	// +listType=atomic
	Conditions []OperationStatusCondition `json:"conditions,omitempty"`
	Versions   DumpStatusVersions         `json:"versions,omitempty"`
	// Location of the generated dump file
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Dump File Path",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	DumpFile string `json:"dumpFile,omitempty"`
	// The generation identifier of this WebSphereLibertyDump instance completely reconciled by the Operator.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

Defines the observed state of WebSphereLibertyDump

func (*WebSphereLibertyDumpStatus) DeepCopy

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

func (*WebSphereLibertyDumpStatus) DeepCopyInto

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

type WebSphereLibertyPerformanceData

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

	Spec   WebSphereLibertyPerformanceDataSpec   `json:"spec,omitempty"`
	Status WebSphereLibertyPerformanceDataStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:resource:path=webspherelibertyperformancedata,scope=Namespaced,shortName=wlperfdata +kubebuilder:printcolumn:name="Started",type="string",JSONPath=".status.conditions[?(@.type=='Started')].status",priority=0,description="Indicates if performance data operation has started" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Started')].reason",priority=1,description="Reason for performance data operation failing to start" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Started')].message",priority=1,description="Message for performance data operation failing to start" +kubebuilder:printcolumn:name="Completed",type="string",JSONPath=".status.conditions[?(@.type=='Completed')].status",priority=0,description="Indicates if performance data operation has completed" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Completed')].reason",priority=1,description="Reason for performance data operation failing to complete" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Completed')].message",priority=1,description="Message for performance data operation failing to complete" +kubebuilder:printcolumn:name="Performance Data file",type="string",JSONPath=".status.performanceDataFile",priority=0,description="Indicates filename of the server performance data" +operator-sdk:csv:customresourcedefinitions:displayName="WebSphereLibertyPerformanceData" Day-2 operation for generating server performance data

func (*WebSphereLibertyPerformanceData) DeepCopy

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

func (*WebSphereLibertyPerformanceData) DeepCopyInto

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

func (*WebSphereLibertyPerformanceData) DeepCopyObject

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

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

func (*WebSphereLibertyPerformanceData) GetInterval

func (cr *WebSphereLibertyPerformanceData) GetInterval() int

GetInterval returns the time interval in seconds between performance data operations. Defaults to 30.

func (*WebSphereLibertyPerformanceData) GetStatus

GetStatus return condition's status

func (*WebSphereLibertyPerformanceData) GetTimespan

func (cr *WebSphereLibertyPerformanceData) GetTimespan() int

GetTimespan returns the timespan in seconds for running a performance data operation. Defaults to 240.

type WebSphereLibertyPerformanceDataList

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

+kubebuilder:object:root=true WebSphereLibertyPerformanceDataList contains a list of WebSphereLibertyPerformanceData

func (*WebSphereLibertyPerformanceDataList) DeepCopy

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

func (*WebSphereLibertyPerformanceDataList) DeepCopyInto

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

func (*WebSphereLibertyPerformanceDataList) DeepCopyObject

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

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

type WebSphereLibertyPerformanceDataSpec

type WebSphereLibertyPerformanceDataSpec struct {
	// The name of the Pod, which must be in the same namespace as the WebSphereLibertyPerformanceData CR.
	PodName string `json:"podName"`

	// The total time, in seconds, for gathering performance data. The minimum value is 10 seconds. The maximum value is 600 seconds (10 minutes). Defaults to 240 seconds (4 minutes).
	// +kubebuilder:validation:Minimum=10
	// +kubebuilder:validation:Maximum=600
	Timespan *int `json:"timespan,omitempty"`

	// The time, in seconds, between executions. The minimum value is 1 second. Defaults to 30 seconds.
	// +kubebuilder:validation:Minimum=1
	Interval *int `json:"interval,omitempty"`
}

WebSphereLibertyPerformanceDataSpec defines the desired state of WebSphereLibertyPerformanceData

func (*WebSphereLibertyPerformanceDataSpec) DeepCopy

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

func (*WebSphereLibertyPerformanceDataSpec) DeepCopyInto

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

type WebSphereLibertyPerformanceDataStatus

type WebSphereLibertyPerformanceDataStatus struct {
	// +listType=atomic
	Conditions []OperationStatusCondition    `json:"conditions,omitempty"`
	Versions   PerformanceDataStatusVersions `json:"versions,omitempty"`
	// Location of the generated performance data file
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Performance Data File Path",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	PerformanceDataFile string `json:"performanceDataFile,omitempty"`
	// The generation identifier of this WebSphereLibertyPerformanceData instance completely reconciled by the Operator.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

Defines the observed state of WebSphereLibertyPerformanceData

func (*WebSphereLibertyPerformanceDataStatus) DeepCopy

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

func (*WebSphereLibertyPerformanceDataStatus) DeepCopyInto

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

func (*WebSphereLibertyPerformanceDataStatus) GetCondition

GetCondition ...

func (*WebSphereLibertyPerformanceDataStatus) GetConditions

GetConditions returns slice of conditions

func (*WebSphereLibertyPerformanceDataStatus) NewCondition

NewCondition returns new condition

func (*WebSphereLibertyPerformanceDataStatus) SetCondition

SetCondition ...

type WebSphereLibertyTrace

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

	Spec   WebSphereLibertyTraceSpec   `json:"spec,omitempty"`
	Status WebSphereLibertyTraceStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=webspherelibertytraces,scope=Namespaced,shortName=wltrace;wltraces +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" +operator-sdk:csv:customresourcedefinitions:displayName="WebSphereLibertyTrace" Day-2 operation for gathering server traces. Documentation: For more information about installation parameters, see https://ibm.biz/wlo-crs. License: By installing this product, you accept the license terms at https://ibm.biz/was-license.

func (*WebSphereLibertyTrace) DeepCopy

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

func (*WebSphereLibertyTrace) DeepCopyInto

func (in *WebSphereLibertyTrace) DeepCopyInto(out *WebSphereLibertyTrace)

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

func (*WebSphereLibertyTrace) DeepCopyObject

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

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

func (*WebSphereLibertyTrace) GetStatus

GetStatus return condition's status

func (*WebSphereLibertyTrace) Initialize

func (cr *WebSphereLibertyTrace) Initialize()

type WebSphereLibertyTraceList

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

+kubebuilder:object:root=true WebSphereLibertyTraceList contains a list of WebSphereLibertyTrace

func (*WebSphereLibertyTraceList) DeepCopy

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

func (*WebSphereLibertyTraceList) DeepCopyInto

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

func (*WebSphereLibertyTraceList) DeepCopyObject

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

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

type WebSphereLibertyTraceSpec

type WebSphereLibertyTraceSpec struct {

	// Optional. License information is no longer required for the trace operation.
	// +operator-sdk:csv:customresourcedefinitions:order=1,type=spec,displayName="License",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	// +kubebuilder:validation:Optional
	License LicenseSimple `json:"license,omitempty"`

	// The name of the Pod, which must be in the same namespace as the WebSphereLibertyTrace CR.
	PodName string `json:"podName"`

	// The trace string to be used to selectively enable trace. The default is *=info.
	TraceSpecification string `json:"traceSpecification"`

	// The maximum size (in MB) that a log file can reach before it is rolled. To disable this attribute, set the value to 0.
	MaxFileSize *int32 `json:"maxFileSize,omitempty"`

	// If an enforced maximum file size exists, this setting is used to determine how many of each of the logs files are kept.
	MaxFiles *int32 `json:"maxFiles,omitempty"`

	// Set to true to stop tracing.
	Disable *bool `json:"disable,omitempty"`
}

Defines the desired state of WebSphereLibertyTrace

func (*WebSphereLibertyTraceSpec) DeepCopy

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

func (*WebSphereLibertyTraceSpec) DeepCopyInto

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

type WebSphereLibertyTraceStatus

type WebSphereLibertyTraceStatus struct {
	// +listType=atomic
	Conditions       []OperationStatusCondition `json:"conditions,omitempty"`
	OperatedResource OperatedResource           `json:"operatedResource,omitempty"`
	Versions         TraceStatusVersions        `json:"versions,omitempty"`
	// Location of the trace log directory
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Log Directory",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
	LogDirectory string `json:"logDirectory,omitempty"`
	// The generation identifier of this WebSphereLibertyTrace instance completely reconciled by the Operator.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

Defines the observed state of WebSphereLibertyTrace operation

func (*WebSphereLibertyTraceStatus) DeepCopy

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

func (*WebSphereLibertyTraceStatus) DeepCopyInto

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

func (*WebSphereLibertyTraceStatus) GetCondition

GetCondition ...

func (*WebSphereLibertyTraceStatus) GetConditions

GetConditions returns slice of conditions

func (*WebSphereLibertyTraceStatus) GetOperatedResource

func (s *WebSphereLibertyTraceStatus) GetOperatedResource() *OperatedResource

GetOperatedResource ...

func (*WebSphereLibertyTraceStatus) NewCondition

NewCondition returns new condition

func (*WebSphereLibertyTraceStatus) SetCondition

SetCondition ...

func (*WebSphereLibertyTraceStatus) SetOperatedResource

func (s *WebSphereLibertyTraceStatus) SetOperatedResource(or OperatedResource)

SetOperatedResource ...

Jump to

Keyboard shortcuts

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