Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps.webspheretraditional.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.webspheretraditional.io.ibm
Index ¶
- Variables
- type GithubLogin
- type OAuth2Client
- type OidcClient
- type StatusCondition
- func (in *StatusCondition) DeepCopy() *StatusCondition
- func (in *StatusCondition) DeepCopyInto(out *StatusCondition)
- func (c *StatusCondition) GetLastTransitionTime() *metav1.Time
- func (c *StatusCondition) GetMessage() string
- func (c *StatusCondition) GetReason() string
- func (c *StatusCondition) GetStatus() corev1.ConditionStatus
- func (c *StatusCondition) GetType() common.StatusConditionType
- func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)
- func (c *StatusCondition) SetMessage(m string)
- func (c *StatusCondition) SetReason(r string)
- func (c *StatusCondition) SetStatus(s corev1.ConditionStatus)
- func (c *StatusCondition) SetType(ct common.StatusConditionType)
- type StatusConditionType
- type WebsphereTraditionalApplication
- func (in *WebsphereTraditionalApplication) DeepCopy() *WebsphereTraditionalApplication
- func (in *WebsphereTraditionalApplication) DeepCopyInto(out *WebsphereTraditionalApplication)
- func (in *WebsphereTraditionalApplication) DeepCopyObject() runtime.Object
- func (cr *WebsphereTraditionalApplication) GetAffinity() common.BaseComponentAffinity
- func (cr *WebsphereTraditionalApplication) GetAnnotations() map[string]string
- func (cr *WebsphereTraditionalApplication) GetApplicationImage() string
- func (cr *WebsphereTraditionalApplication) GetApplicationName() string
- func (cr *WebsphereTraditionalApplication) GetApplicationVersion() string
- func (cr *WebsphereTraditionalApplication) GetAutoscaling() common.BaseComponentAutoscaling
- func (cr *WebsphereTraditionalApplication) GetCreateKnativeService() *bool
- func (cr *WebsphereTraditionalApplication) GetDeployment() common.BaseComponentDeployment
- func (cr *WebsphereTraditionalApplication) GetEnv() []corev1.EnvVar
- func (cr *WebsphereTraditionalApplication) GetEnvFrom() []corev1.EnvFromSource
- func (cr *WebsphereTraditionalApplication) GetExpose() *bool
- func (cr *WebsphereTraditionalApplication) GetGroupName() string
- func (cr *WebsphereTraditionalApplication) GetInitContainers() []corev1.Container
- func (cr *WebsphereTraditionalApplication) GetLabels() map[string]string
- func (cr *WebsphereTraditionalApplication) GetMonitoring() common.BaseComponentMonitoring
- func (cr *WebsphereTraditionalApplication) GetProbes() common.BaseComponentProbes
- func (cr *WebsphereTraditionalApplication) GetPullPolicy() *corev1.PullPolicy
- func (cr *WebsphereTraditionalApplication) GetPullSecret() *string
- func (cr *WebsphereTraditionalApplication) GetReplicas() *int32
- func (cr *WebsphereTraditionalApplication) GetResourceConstraints() *corev1.ResourceRequirements
- func (cr *WebsphereTraditionalApplication) GetRoute() common.BaseComponentRoute
- func (cr *WebsphereTraditionalApplication) GetService() common.BaseComponentService
- func (cr *WebsphereTraditionalApplication) GetServiceAccountName() *string
- func (cr *WebsphereTraditionalApplication) GetServiceability() *WebsphereTraditionalApplicationServiceability
- func (cr *WebsphereTraditionalApplication) GetSidecarContainers() []corev1.Container
- func (cr *WebsphereTraditionalApplication) GetStatefulSet() common.BaseComponentStatefulSet
- func (cr *WebsphereTraditionalApplication) GetStatus() common.BaseComponentStatus
- func (cr *WebsphereTraditionalApplication) GetVolumeMounts() []corev1.VolumeMount
- func (cr *WebsphereTraditionalApplication) GetVolumes() []corev1.Volume
- func (cr *WebsphereTraditionalApplication) Initialize()
- type WebsphereTraditionalApplicationAffinity
- func (in *WebsphereTraditionalApplicationAffinity) DeepCopy() *WebsphereTraditionalApplicationAffinity
- func (in *WebsphereTraditionalApplicationAffinity) DeepCopyInto(out *WebsphereTraditionalApplicationAffinity)
- func (a *WebsphereTraditionalApplicationAffinity) GetArchitecture() []string
- func (a *WebsphereTraditionalApplicationAffinity) GetNodeAffinity() *corev1.NodeAffinity
- func (a *WebsphereTraditionalApplicationAffinity) GetNodeAffinityLabels() map[string]string
- func (a *WebsphereTraditionalApplicationAffinity) GetPodAffinity() *corev1.PodAffinity
- func (a *WebsphereTraditionalApplicationAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
- type WebsphereTraditionalApplicationAutoScaling
- func (in *WebsphereTraditionalApplicationAutoScaling) DeepCopy() *WebsphereTraditionalApplicationAutoScaling
- func (in *WebsphereTraditionalApplicationAutoScaling) DeepCopyInto(out *WebsphereTraditionalApplicationAutoScaling)
- func (a *WebsphereTraditionalApplicationAutoScaling) GetMaxReplicas() int32
- func (a *WebsphereTraditionalApplicationAutoScaling) GetMinReplicas() *int32
- func (a *WebsphereTraditionalApplicationAutoScaling) GetTargetCPUUtilizationPercentage() *int32
- type WebsphereTraditionalApplicationDeployment
- func (in *WebsphereTraditionalApplicationDeployment) DeepCopy() *WebsphereTraditionalApplicationDeployment
- func (in *WebsphereTraditionalApplicationDeployment) DeepCopyInto(out *WebsphereTraditionalApplicationDeployment)
- func (rcd *WebsphereTraditionalApplicationDeployment) GetAnnotations() map[string]string
- func (cr *WebsphereTraditionalApplicationDeployment) GetDeploymentUpdateStrategy() *appsv1.DeploymentStrategy
- type WebsphereTraditionalApplicationList
- type WebsphereTraditionalApplicationMonitoring
- func (in *WebsphereTraditionalApplicationMonitoring) DeepCopy() *WebsphereTraditionalApplicationMonitoring
- func (in *WebsphereTraditionalApplicationMonitoring) DeepCopyInto(out *WebsphereTraditionalApplicationMonitoring)
- func (m *WebsphereTraditionalApplicationMonitoring) GetEndpoints() []prometheusv1.Endpoint
- func (m *WebsphereTraditionalApplicationMonitoring) GetLabels() map[string]string
- type WebsphereTraditionalApplicationProbes
- func (in *WebsphereTraditionalApplicationProbes) DeepCopy() *WebsphereTraditionalApplicationProbes
- func (in *WebsphereTraditionalApplicationProbes) DeepCopyInto(out *WebsphereTraditionalApplicationProbes)
- func (p *WebsphereTraditionalApplicationProbes) GetLivenessProbe() *corev1.Probe
- func (p *WebsphereTraditionalApplicationProbes) GetReadinessProbe() *corev1.Probe
- func (p *WebsphereTraditionalApplicationProbes) GetStartupProbe() *corev1.Probe
- type WebsphereTraditionalApplicationRoute
- func (in *WebsphereTraditionalApplicationRoute) DeepCopy() *WebsphereTraditionalApplicationRoute
- func (in *WebsphereTraditionalApplicationRoute) DeepCopyInto(out *WebsphereTraditionalApplicationRoute)
- func (r *WebsphereTraditionalApplicationRoute) GetAnnotations() map[string]string
- func (r *WebsphereTraditionalApplicationRoute) GetCertificateSecretRef() *string
- func (r *WebsphereTraditionalApplicationRoute) GetHost() string
- func (r *WebsphereTraditionalApplicationRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
- func (r *WebsphereTraditionalApplicationRoute) GetPath() string
- func (r *WebsphereTraditionalApplicationRoute) GetPathType() networkingv1.PathType
- func (r *WebsphereTraditionalApplicationRoute) GetTermination() *routev1.TLSTerminationType
- type WebsphereTraditionalApplicationSSO
- type WebsphereTraditionalApplicationService
- func (in *WebsphereTraditionalApplicationService) DeepCopy() *WebsphereTraditionalApplicationService
- func (in *WebsphereTraditionalApplicationService) DeepCopyInto(out *WebsphereTraditionalApplicationService)
- func (s *WebsphereTraditionalApplicationService) GetAnnotations() map[string]string
- func (s *WebsphereTraditionalApplicationService) GetBindable() *bool
- func (s *WebsphereTraditionalApplicationService) GetCertificateSecretRef() *string
- func (s *WebsphereTraditionalApplicationService) GetNodePort() *int32
- func (s *WebsphereTraditionalApplicationService) GetPort() int32
- func (s *WebsphereTraditionalApplicationService) GetPortName() string
- func (s *WebsphereTraditionalApplicationService) GetPorts() []corev1.ServicePort
- func (s *WebsphereTraditionalApplicationService) GetTargetPort() *int32
- func (s *WebsphereTraditionalApplicationService) GetType() *corev1.ServiceType
- type WebsphereTraditionalApplicationServiceability
- func (in *WebsphereTraditionalApplicationServiceability) DeepCopy() *WebsphereTraditionalApplicationServiceability
- func (in *WebsphereTraditionalApplicationServiceability) DeepCopyInto(out *WebsphereTraditionalApplicationServiceability)
- func (s *WebsphereTraditionalApplicationServiceability) GetSize() string
- func (s *WebsphereTraditionalApplicationServiceability) GetVolumeClaimName() string
- type WebsphereTraditionalApplicationSpec
- type WebsphereTraditionalApplicationStatefulSet
- func (in *WebsphereTraditionalApplicationStatefulSet) DeepCopy() *WebsphereTraditionalApplicationStatefulSet
- func (in *WebsphereTraditionalApplicationStatefulSet) DeepCopyInto(out *WebsphereTraditionalApplicationStatefulSet)
- func (rcss *WebsphereTraditionalApplicationStatefulSet) GetAnnotations() map[string]string
- func (cr *WebsphereTraditionalApplicationStatefulSet) GetStatefulSetUpdateStrategy() *appsv1.StatefulSetUpdateStrategy
- func (ss *WebsphereTraditionalApplicationStatefulSet) GetStorage() common.BaseComponentStorage
- type WebsphereTraditionalApplicationStatus
- func (in *WebsphereTraditionalApplicationStatus) DeepCopy() *WebsphereTraditionalApplicationStatus
- func (in *WebsphereTraditionalApplicationStatus) DeepCopyInto(out *WebsphereTraditionalApplicationStatus)
- func (s *WebsphereTraditionalApplicationStatus) GetBinding() *corev1.LocalObjectReference
- func (s *WebsphereTraditionalApplicationStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
- func (s *WebsphereTraditionalApplicationStatus) GetConditions() []common.StatusCondition
- func (s *WebsphereTraditionalApplicationStatus) GetImageReference() string
- func (s *WebsphereTraditionalApplicationStatus) NewCondition() common.StatusCondition
- func (s *WebsphereTraditionalApplicationStatus) SetBinding(r *corev1.LocalObjectReference)
- func (s *WebsphereTraditionalApplicationStatus) SetCondition(c common.StatusCondition)
- func (s *WebsphereTraditionalApplicationStatus) SetImageReference(imageReference string)
- type WebsphereTraditionalApplicationStorage
- func (in *WebsphereTraditionalApplicationStorage) DeepCopy() *WebsphereTraditionalApplicationStorage
- func (in *WebsphereTraditionalApplicationStorage) DeepCopyInto(out *WebsphereTraditionalApplicationStorage)
- func (s *WebsphereTraditionalApplicationStorage) GetMountPath() string
- func (s *WebsphereTraditionalApplicationStorage) GetSize() string
- func (s *WebsphereTraditionalApplicationStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "apps.webspheretraditional.io.ibm", Version: "v1alpha1"} // 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 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 OAuth2Client ¶
type OAuth2Client struct {
// Specifies the unique ID for the provider. The default value is oauth2.
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.
AccessTokenRequired *bool `json:"accessTokenRequired,omitempty"`
// Determines whether to support access token authentication if an access token is provided in the request.
AccessTokenSupported *bool `json:"accessTokenSupported,omitempty"`
// Indicates which specification to use for the user API.
UserApiType string `json:"userApiType,omitempty"`
// The URL for retrieving the user information.
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.
ID string `json:"id,omitempty"`
// Specifies a discovery endpoint URL for the OpenID Connect provider. Required field.
DiscoveryEndpoint string `json:"discoveryEndpoint"`
// 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 whether the UserInfo endpoint is contacted.
UserInfoEndpointEnabled *bool `json:"userInfoEndpointEnabled,omitempty"`
// Specifies the name of the claim. Use its value as the subject realm.
RealmNameAttribute string `json:"realmNameAttribute,omitempty"`
// Specifies one or more scopes to request.
Scope string `json:"scope,omitempty"`
// Specifies the required authentication method.
TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod,omitempty"`
// Specifies whether to enable host name verification when the client contacts the provider.
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 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 return time of last status change
func (*StatusCondition) GetMessage ¶
func (c *StatusCondition) GetMessage() string
GetMessage return condition's message
func (*StatusCondition) GetReason ¶
func (c *StatusCondition) GetReason() string
GetReason return condition's message
func (*StatusCondition) GetStatus ¶
func (c *StatusCondition) GetStatus() corev1.ConditionStatus
GetStatus return condition's status
func (*StatusCondition) GetType ¶
func (c *StatusCondition) GetType() common.StatusConditionType
GetType returns status condition type
func (*StatusCondition) SetLastTransitionTime ¶
func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)
SetLastTransitionTime sets time of last status change
func (*StatusCondition) SetMessage ¶
func (c *StatusCondition) SetMessage(m string)
SetMessage sets condition's message
func (*StatusCondition) SetReason ¶
func (c *StatusCondition) SetReason(r string)
SetReason sets condition's reason
func (*StatusCondition) SetStatus ¶
func (c *StatusCondition) SetStatus(s corev1.ConditionStatus)
SetStatus sets condition's status
func (*StatusCondition) SetType ¶
func (c *StatusCondition) SetType(ct common.StatusConditionType)
SetType returns status condition type
type StatusConditionType ¶
type StatusConditionType string
Defines the type of status condition.
const ( // StatusConditionTypeReconciled ... StatusConditionTypeReconciled StatusConditionType = "Reconciled" )
type WebsphereTraditionalApplication ¶
type WebsphereTraditionalApplication struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WebsphereTraditionalApplicationSpec `json:"spec,omitempty"`
Status WebsphereTraditionalApplicationStatus `json:"status,omitempty"`
}
Represents the deployment of a Websphere Traditional application
func (*WebsphereTraditionalApplication) DeepCopy ¶
func (in *WebsphereTraditionalApplication) DeepCopy() *WebsphereTraditionalApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplication.
func (*WebsphereTraditionalApplication) DeepCopyInto ¶
func (in *WebsphereTraditionalApplication) DeepCopyInto(out *WebsphereTraditionalApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplication) DeepCopyObject ¶
func (in *WebsphereTraditionalApplication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WebsphereTraditionalApplication) GetAffinity ¶
func (cr *WebsphereTraditionalApplication) GetAffinity() common.BaseComponentAffinity
GetAffinity returns deployment's node and pod affinity settings
func (*WebsphereTraditionalApplication) GetAnnotations ¶
func (cr *WebsphereTraditionalApplication) GetAnnotations() map[string]string
GetAnnotations returns set of annotations to be added to all resources
func (*WebsphereTraditionalApplication) GetApplicationImage ¶
func (cr *WebsphereTraditionalApplication) GetApplicationImage() string
GetApplicationImage returns application image
func (*WebsphereTraditionalApplication) GetApplicationName ¶
func (cr *WebsphereTraditionalApplication) GetApplicationName() string
GetApplicationName returns Application name
func (*WebsphereTraditionalApplication) GetApplicationVersion ¶
func (cr *WebsphereTraditionalApplication) GetApplicationVersion() string
GetApplicationVersion returns application version
func (*WebsphereTraditionalApplication) GetAutoscaling ¶
func (cr *WebsphereTraditionalApplication) GetAutoscaling() common.BaseComponentAutoscaling
GetAutoscaling returns autoscaling settings
func (*WebsphereTraditionalApplication) GetCreateKnativeService ¶
func (cr *WebsphereTraditionalApplication) GetCreateKnativeService() *bool
GetCreateKnativeService returns flag that toggles Knative service
func (*WebsphereTraditionalApplication) GetDeployment ¶
func (cr *WebsphereTraditionalApplication) GetDeployment() common.BaseComponentDeployment
GetDeployment returns deployment settings
func (*WebsphereTraditionalApplication) GetEnv ¶
func (cr *WebsphereTraditionalApplication) GetEnv() []corev1.EnvVar
GetEnv returns slice of environment variables
func (*WebsphereTraditionalApplication) GetEnvFrom ¶
func (cr *WebsphereTraditionalApplication) GetEnvFrom() []corev1.EnvFromSource
GetEnvFrom returns slice of environment variables from source
func (*WebsphereTraditionalApplication) GetExpose ¶
func (cr *WebsphereTraditionalApplication) GetExpose() *bool
GetExpose returns expose flag
func (*WebsphereTraditionalApplication) GetGroupName ¶
func (cr *WebsphereTraditionalApplication) GetGroupName() string
GetGroupName returns group name to be used in labels and annotation
func (*WebsphereTraditionalApplication) GetInitContainers ¶
func (cr *WebsphereTraditionalApplication) GetInitContainers() []corev1.Container
GetInitContainers returns list of init containers
func (*WebsphereTraditionalApplication) GetLabels ¶
func (cr *WebsphereTraditionalApplication) GetLabels() map[string]string
GetLabels returns set of labels to be added to all resources
func (*WebsphereTraditionalApplication) GetMonitoring ¶
func (cr *WebsphereTraditionalApplication) GetMonitoring() common.BaseComponentMonitoring
GetMonitoring returns monitoring settings
func (*WebsphereTraditionalApplication) GetProbes ¶
func (cr *WebsphereTraditionalApplication) GetProbes() common.BaseComponentProbes
func (*WebsphereTraditionalApplication) GetPullPolicy ¶
func (cr *WebsphereTraditionalApplication) GetPullPolicy() *corev1.PullPolicy
GetPullPolicy returns image pull policy
func (*WebsphereTraditionalApplication) GetPullSecret ¶
func (cr *WebsphereTraditionalApplication) GetPullSecret() *string
GetPullSecret returns secret name for docker registry credentials
func (*WebsphereTraditionalApplication) GetReplicas ¶
func (cr *WebsphereTraditionalApplication) GetReplicas() *int32
GetReplicas returns number of replicas
func (*WebsphereTraditionalApplication) GetResourceConstraints ¶
func (cr *WebsphereTraditionalApplication) GetResourceConstraints() *corev1.ResourceRequirements
GetResourceConstraints returns resource constraints
func (*WebsphereTraditionalApplication) GetRoute ¶
func (cr *WebsphereTraditionalApplication) GetRoute() common.BaseComponentRoute
GetRoute returns route
func (*WebsphereTraditionalApplication) GetService ¶
func (cr *WebsphereTraditionalApplication) GetService() common.BaseComponentService
GetService returns service settings
func (*WebsphereTraditionalApplication) GetServiceAccountName ¶
func (cr *WebsphereTraditionalApplication) GetServiceAccountName() *string
GetServiceAccountName returns service account name
func (*WebsphereTraditionalApplication) GetServiceability ¶
func (cr *WebsphereTraditionalApplication) GetServiceability() *WebsphereTraditionalApplicationServiceability
GetServiceability returns serviceability
func (*WebsphereTraditionalApplication) GetSidecarContainers ¶
func (cr *WebsphereTraditionalApplication) GetSidecarContainers() []corev1.Container
GetSidecarContainers returns list of sidecar containers
func (*WebsphereTraditionalApplication) GetStatefulSet ¶
func (cr *WebsphereTraditionalApplication) GetStatefulSet() common.BaseComponentStatefulSet
GetStatefulSet returns statefulSet settings
func (*WebsphereTraditionalApplication) GetStatus ¶
func (cr *WebsphereTraditionalApplication) GetStatus() common.BaseComponentStatus
GetStatus returns WebsphereTraditionalApplication status
func (*WebsphereTraditionalApplication) GetVolumeMounts ¶
func (cr *WebsphereTraditionalApplication) GetVolumeMounts() []corev1.VolumeMount
GetVolumeMounts returns volume mounts slice
func (*WebsphereTraditionalApplication) GetVolumes ¶
func (cr *WebsphereTraditionalApplication) GetVolumes() []corev1.Volume
GetVolumes returns volumes slice
func (*WebsphereTraditionalApplication) Initialize ¶
func (cr *WebsphereTraditionalApplication) Initialize()
Initialize sets default values
type WebsphereTraditionalApplicationAffinity ¶
type WebsphereTraditionalApplicationAffinity 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 (*WebsphereTraditionalApplicationAffinity) DeepCopy ¶
func (in *WebsphereTraditionalApplicationAffinity) DeepCopy() *WebsphereTraditionalApplicationAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationAffinity.
func (*WebsphereTraditionalApplicationAffinity) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationAffinity) DeepCopyInto(out *WebsphereTraditionalApplicationAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationAffinity) GetArchitecture ¶
func (a *WebsphereTraditionalApplicationAffinity) GetArchitecture() []string
GetArchitecture returns list of architecture names
func (*WebsphereTraditionalApplicationAffinity) GetNodeAffinity ¶
func (a *WebsphereTraditionalApplicationAffinity) GetNodeAffinity() *corev1.NodeAffinity
GetNodeAffinity returns node affinity
func (*WebsphereTraditionalApplicationAffinity) GetNodeAffinityLabels ¶
func (a *WebsphereTraditionalApplicationAffinity) GetNodeAffinityLabels() map[string]string
GetNodeAffinityLabels returns list of architecture names
func (*WebsphereTraditionalApplicationAffinity) GetPodAffinity ¶
func (a *WebsphereTraditionalApplicationAffinity) GetPodAffinity() *corev1.PodAffinity
GetPodAffinity returns pod affinity
func (*WebsphereTraditionalApplicationAffinity) GetPodAntiAffinity ¶
func (a *WebsphereTraditionalApplicationAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
GetPodAntiAffinity returns pod anti-affinity
type WebsphereTraditionalApplicationAutoScaling ¶
type WebsphereTraditionalApplicationAutoScaling 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"`
}
Configures the desired resource consumption of pods.
func (*WebsphereTraditionalApplicationAutoScaling) DeepCopy ¶
func (in *WebsphereTraditionalApplicationAutoScaling) DeepCopy() *WebsphereTraditionalApplicationAutoScaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationAutoScaling.
func (*WebsphereTraditionalApplicationAutoScaling) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationAutoScaling) DeepCopyInto(out *WebsphereTraditionalApplicationAutoScaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationAutoScaling) GetMaxReplicas ¶
func (a *WebsphereTraditionalApplicationAutoScaling) GetMaxReplicas() int32
GetMaxReplicas returns maximum replicas
func (*WebsphereTraditionalApplicationAutoScaling) GetMinReplicas ¶
func (a *WebsphereTraditionalApplicationAutoScaling) GetMinReplicas() *int32
GetMinReplicas returns minimum replicas
func (*WebsphereTraditionalApplicationAutoScaling) GetTargetCPUUtilizationPercentage ¶
func (a *WebsphereTraditionalApplicationAutoScaling) GetTargetCPUUtilizationPercentage() *int32
GetTargetCPUUtilizationPercentage returns target cpu usage
type WebsphereTraditionalApplicationDeployment ¶
type WebsphereTraditionalApplicationDeployment 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 (*WebsphereTraditionalApplicationDeployment) DeepCopy ¶
func (in *WebsphereTraditionalApplicationDeployment) DeepCopy() *WebsphereTraditionalApplicationDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationDeployment.
func (*WebsphereTraditionalApplicationDeployment) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationDeployment) DeepCopyInto(out *WebsphereTraditionalApplicationDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationDeployment) GetAnnotations ¶
func (rcd *WebsphereTraditionalApplicationDeployment) GetAnnotations() map[string]string
GetAnnotations returns annotations to be added only to the Deployment and its child resources
func (*WebsphereTraditionalApplicationDeployment) GetDeploymentUpdateStrategy ¶
func (cr *WebsphereTraditionalApplicationDeployment) GetDeploymentUpdateStrategy() *appsv1.DeploymentStrategy
GetDeploymentStrategy returns deployment strategy struct
type WebsphereTraditionalApplicationList ¶
type WebsphereTraditionalApplicationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WebsphereTraditionalApplication `json:"items"`
}
WebsphereTraditionalApplicationList contains a list of WebsphereTraditionalApplication
func (*WebsphereTraditionalApplicationList) DeepCopy ¶
func (in *WebsphereTraditionalApplicationList) DeepCopy() *WebsphereTraditionalApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationList.
func (*WebsphereTraditionalApplicationList) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationList) DeepCopyInto(out *WebsphereTraditionalApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationList) DeepCopyObject ¶
func (in *WebsphereTraditionalApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebsphereTraditionalApplicationMonitoring ¶
type WebsphereTraditionalApplicationMonitoring 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 (*WebsphereTraditionalApplicationMonitoring) DeepCopy ¶
func (in *WebsphereTraditionalApplicationMonitoring) DeepCopy() *WebsphereTraditionalApplicationMonitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationMonitoring.
func (*WebsphereTraditionalApplicationMonitoring) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationMonitoring) DeepCopyInto(out *WebsphereTraditionalApplicationMonitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationMonitoring) GetEndpoints ¶
func (m *WebsphereTraditionalApplicationMonitoring) GetEndpoints() []prometheusv1.Endpoint
GetEndpoints returns endpoints to be added to ServiceMonitor
func (*WebsphereTraditionalApplicationMonitoring) GetLabels ¶
func (m *WebsphereTraditionalApplicationMonitoring) GetLabels() map[string]string
GetLabels returns labels to be added on ServiceMonitor
type WebsphereTraditionalApplicationProbes ¶
type WebsphereTraditionalApplicationProbes 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 (*WebsphereTraditionalApplicationProbes) DeepCopy ¶
func (in *WebsphereTraditionalApplicationProbes) DeepCopy() *WebsphereTraditionalApplicationProbes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationProbes.
func (*WebsphereTraditionalApplicationProbes) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationProbes) DeepCopyInto(out *WebsphereTraditionalApplicationProbes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationProbes) GetLivenessProbe ¶
func (p *WebsphereTraditionalApplicationProbes) GetLivenessProbe() *corev1.Probe
GetLivenessProbe returns liveness probe
func (*WebsphereTraditionalApplicationProbes) GetReadinessProbe ¶
func (p *WebsphereTraditionalApplicationProbes) GetReadinessProbe() *corev1.Probe
GetReadinessProbe returns readiness probe
func (*WebsphereTraditionalApplicationProbes) GetStartupProbe ¶
func (p *WebsphereTraditionalApplicationProbes) GetStartupProbe() *corev1.Probe
GetStartupProbe returns startup probe
type WebsphereTraditionalApplicationRoute ¶
type WebsphereTraditionalApplicationRoute 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.
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:text"
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:text"
InsecureEdgeTerminationPolicy *routev1.InsecureEdgeTerminationPolicyType `json:"insecureEdgeTerminationPolicy,omitempty"`
}
Configures the ingress resource.
func (*WebsphereTraditionalApplicationRoute) DeepCopy ¶
func (in *WebsphereTraditionalApplicationRoute) DeepCopy() *WebsphereTraditionalApplicationRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationRoute.
func (*WebsphereTraditionalApplicationRoute) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationRoute) DeepCopyInto(out *WebsphereTraditionalApplicationRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationRoute) GetAnnotations ¶
func (r *WebsphereTraditionalApplicationRoute) GetAnnotations() map[string]string
GetAnnotations returns route annotations
func (*WebsphereTraditionalApplicationRoute) GetCertificateSecretRef ¶
func (r *WebsphereTraditionalApplicationRoute) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*WebsphereTraditionalApplicationRoute) GetHost ¶
func (r *WebsphereTraditionalApplicationRoute) GetHost() string
GetHost returns hostname to be used by the route
func (*WebsphereTraditionalApplicationRoute) GetInsecureEdgeTerminationPolicy ¶
func (r *WebsphereTraditionalApplicationRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
GetInsecureEdgeTerminationPolicy returns terminatation of the route's TLS
func (*WebsphereTraditionalApplicationRoute) GetPath ¶
func (r *WebsphereTraditionalApplicationRoute) GetPath() string
GetPath returns path to use for the route
func (*WebsphereTraditionalApplicationRoute) GetPathType ¶
func (r *WebsphereTraditionalApplicationRoute) GetPathType() networkingv1.PathType
GetPathType returns pathType to use for the route
func (*WebsphereTraditionalApplicationRoute) GetTermination ¶
func (r *WebsphereTraditionalApplicationRoute) GetTermination() *routev1.TLSTerminationType
GetTermination returns terminatation of the route's TLS
type WebsphereTraditionalApplicationSSO ¶
type WebsphereTraditionalApplicationSSO struct {
// +listType=atomic
OIDC []OidcClient `json:"oidc,omitempty"`
// +listType=atomic
Oauth2 []OAuth2Client `json:"oauth2,omitempty"`
Github *GithubLogin `json:"github,omitempty"`
// Specifies a callback protocol, host and port number.
RedirectToRPHostAndPort string `json:"redirectToRPHostAndPort,omitempty"`
// Specifies whether to map a user identifier to a registry user. This parameter applies to all providers.
MapToUserRegistry *bool `json:"mapToUserRegistry,omitempty"`
}
Specifies the configuration for Single sign-on (SSO) providers to authenticate with.
func (*WebsphereTraditionalApplicationSSO) DeepCopy ¶
func (in *WebsphereTraditionalApplicationSSO) DeepCopy() *WebsphereTraditionalApplicationSSO
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationSSO.
func (*WebsphereTraditionalApplicationSSO) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationSSO) DeepCopyInto(out *WebsphereTraditionalApplicationSSO)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebsphereTraditionalApplicationService ¶
type WebsphereTraditionalApplicationService 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=65535
// +kubebuilder:validation:Minimum=0
// +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"`
// An array consisting of service ports.
// +operator-sdk:csv:customresourcedefinitions:order=16,type=spec
Ports []corev1.ServicePort `json:"ports,omitempty"`
// Expose the application as a bindable service. Defaults to false.
// +operator-sdk:csv:customresourcedefinitions:order=17,type=spec,displayName="Bindable",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
Bindable *bool `json:"bindable,omitempty"`
}
Configures parameters for the network service of pods.
func (*WebsphereTraditionalApplicationService) DeepCopy ¶
func (in *WebsphereTraditionalApplicationService) DeepCopy() *WebsphereTraditionalApplicationService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationService.
func (*WebsphereTraditionalApplicationService) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationService) DeepCopyInto(out *WebsphereTraditionalApplicationService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationService) GetAnnotations ¶
func (s *WebsphereTraditionalApplicationService) GetAnnotations() map[string]string
GetAnnotations returns a set of annotations to be added to the service
func (*WebsphereTraditionalApplicationService) GetBindable ¶
func (s *WebsphereTraditionalApplicationService) GetBindable() *bool
GetBindable returns whether the application should be exposable as a service
func (*WebsphereTraditionalApplicationService) GetCertificateSecretRef ¶
func (s *WebsphereTraditionalApplicationService) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*WebsphereTraditionalApplicationService) GetNodePort ¶
func (s *WebsphereTraditionalApplicationService) GetNodePort() *int32
GetNodePort returns service nodePort
func (*WebsphereTraditionalApplicationService) GetPort ¶
func (s *WebsphereTraditionalApplicationService) GetPort() int32
GetPort returns service port
func (*WebsphereTraditionalApplicationService) GetPortName ¶
func (s *WebsphereTraditionalApplicationService) GetPortName() string
GetPortName returns name of service port
func (*WebsphereTraditionalApplicationService) GetPorts ¶
func (s *WebsphereTraditionalApplicationService) GetPorts() []corev1.ServicePort
GetPorts returns a list of service ports
func (*WebsphereTraditionalApplicationService) GetTargetPort ¶
func (s *WebsphereTraditionalApplicationService) GetTargetPort() *int32
GetTargetPort returns the internal target port for containers
func (*WebsphereTraditionalApplicationService) GetType ¶
func (s *WebsphereTraditionalApplicationService) GetType() *corev1.ServiceType
GetType returns service type
type WebsphereTraditionalApplicationServiceability ¶
type WebsphereTraditionalApplicationServiceability 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 (*WebsphereTraditionalApplicationServiceability) DeepCopy ¶
func (in *WebsphereTraditionalApplicationServiceability) DeepCopy() *WebsphereTraditionalApplicationServiceability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationServiceability.
func (*WebsphereTraditionalApplicationServiceability) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationServiceability) DeepCopyInto(out *WebsphereTraditionalApplicationServiceability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationServiceability) GetSize ¶
func (s *WebsphereTraditionalApplicationServiceability) GetSize() string
GetSize returns pesistent volume size for Serviceability
func (*WebsphereTraditionalApplicationServiceability) GetVolumeClaimName ¶
func (s *WebsphereTraditionalApplicationServiceability) GetVolumeClaimName() string
GetVolumeClaimName returns the name of custom PersistentVolumeClaim (PVC) for Serviceability. Must be in the same namespace as the WebsphereTraditionalApplication.
type WebsphereTraditionalApplicationSpec ¶
type WebsphereTraditionalApplicationSpec struct {
// 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"`
// Name of the service account to use for deploying the application. A service account is automatically created if it's not specified.
// +operator-sdk:csv:customresourcedefinitions:order=6,type=spec,displayName="Service Account Name",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
ServiceAccountName *string `json:"serviceAccountName,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"`
// Number of pods to create. Not applicable when .spec.autoscaling or .spec.createKnativeService is specified.
// +operator-sdk:csv:customresourcedefinitions:order=9,type=spec,displayName="Replicas",xDescriptors="urn:alm:descriptor:com.tectonic.ui:podCount"
Replicas *int32 `json:"replicas,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=10,type=spec,displayName="Auto Scaling"
Autoscaling *WebsphereTraditionalApplicationAutoScaling `json:"autoscaling,omitempty"`
// Resource requests and limits for the application container.
// +operator-sdk:csv:customresourcedefinitions:order=11,type=spec,displayName="Resource Requirements",xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements"
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=12,type=spec,displayName="Probes"
Probes *WebsphereTraditionalApplicationProbes `json:"probes,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=13,type=spec,displayName="Deployment"
Deployment *WebsphereTraditionalApplicationDeployment `json:"deployment,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=14,type=spec,displayName="StatefulSet"
StatefulSet *WebsphereTraditionalApplicationStatefulSet `json:"statefulSet,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=15,type=spec,displayName="Service"
Service *WebsphereTraditionalApplicationService `json:"service,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=16,type=spec,displayName="Route"
Route *WebsphereTraditionalApplicationRoute `json:"route,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=17,type=spec,displayName="Serviceability"
Serviceability *WebsphereTraditionalApplicationServiceability `json:"serviceability,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=18,type=spec,displayName="Single sign-on"
SSO *WebsphereTraditionalApplicationSSO `json:"sso,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=19,type=spec,displayName="Monitoring"
Monitoring *WebsphereTraditionalApplicationMonitoring `json:"monitoring,omitempty"`
// An array of environment variables for the application container.
// +listType=map
// +listMapKey=name
// +operator-sdk:csv:customresourcedefinitions:order=20,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=21,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=22,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=23,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=24,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=25,type=spec,displayName="Sidecar Containers"
SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=26,type=spec,displayName="Affinity"
Affinity *WebsphereTraditionalApplicationAffinity `json:"affinity,omitempty"`
}
Defines the desired state of WebsphereTraditionalApplication.
func (*WebsphereTraditionalApplicationSpec) DeepCopy ¶
func (in *WebsphereTraditionalApplicationSpec) DeepCopy() *WebsphereTraditionalApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationSpec.
func (*WebsphereTraditionalApplicationSpec) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationSpec) DeepCopyInto(out *WebsphereTraditionalApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebsphereTraditionalApplicationStatefulSet ¶
type WebsphereTraditionalApplicationStatefulSet struct {
// Specifies the strategy to replace old StatefulSet pods with new pods.
// +operator-sdk:csv:customresourcedefinitions:order=23,type=spec,displayName="StatefulSet Update Strategy",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
UpdateStrategy *appsv1.StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:order=24,type=spec,displayName="Storage"
Storage *WebsphereTraditionalApplicationStorage `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 (*WebsphereTraditionalApplicationStatefulSet) DeepCopy ¶
func (in *WebsphereTraditionalApplicationStatefulSet) DeepCopy() *WebsphereTraditionalApplicationStatefulSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationStatefulSet.
func (*WebsphereTraditionalApplicationStatefulSet) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationStatefulSet) DeepCopyInto(out *WebsphereTraditionalApplicationStatefulSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationStatefulSet) GetAnnotations ¶
func (rcss *WebsphereTraditionalApplicationStatefulSet) GetAnnotations() map[string]string
GetAnnotations returns annotations to be added only to the StatefulSet and its child resources
func (*WebsphereTraditionalApplicationStatefulSet) GetStatefulSetUpdateStrategy ¶
func (cr *WebsphereTraditionalApplicationStatefulSet) GetStatefulSetUpdateStrategy() *appsv1.StatefulSetUpdateStrategy
GetStatefulSetUpdateStrategy returns statefulSet strategy struct
func (*WebsphereTraditionalApplicationStatefulSet) GetStorage ¶
func (ss *WebsphereTraditionalApplicationStatefulSet) GetStorage() common.BaseComponentStorage
GetStorage returns storage settings
type WebsphereTraditionalApplicationStatus ¶
type WebsphereTraditionalApplicationStatus struct {
// +listType=atomic
// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Status Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []StatusCondition `json:"conditions,omitempty"`
RouteAvailable *bool `json:"routeAvailable,omitempty"`
ImageReference string `json:"imageReference,omitempty"`
// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Service Binding"
Binding *corev1.LocalObjectReference `json:"binding,omitempty"`
}
Defines the observed state of WebsphereTraditionalApplication.
func (*WebsphereTraditionalApplicationStatus) DeepCopy ¶
func (in *WebsphereTraditionalApplicationStatus) DeepCopy() *WebsphereTraditionalApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationStatus.
func (*WebsphereTraditionalApplicationStatus) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationStatus) DeepCopyInto(out *WebsphereTraditionalApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationStatus) GetBinding ¶
func (s *WebsphereTraditionalApplicationStatus) GetBinding() *corev1.LocalObjectReference
GetBinding returns BindingStatus representing binding status
func (*WebsphereTraditionalApplicationStatus) GetCondition ¶
func (s *WebsphereTraditionalApplicationStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
GetCondition ...
func (*WebsphereTraditionalApplicationStatus) GetConditions ¶
func (s *WebsphereTraditionalApplicationStatus) GetConditions() []common.StatusCondition
GetConditions returns slice of conditions
func (*WebsphereTraditionalApplicationStatus) GetImageReference ¶
func (s *WebsphereTraditionalApplicationStatus) GetImageReference() string
GetImageReference returns Docker image reference to be deployed by the CR
func (*WebsphereTraditionalApplicationStatus) NewCondition ¶
func (s *WebsphereTraditionalApplicationStatus) NewCondition() common.StatusCondition
NewCondition returns new condition
func (*WebsphereTraditionalApplicationStatus) SetBinding ¶
func (s *WebsphereTraditionalApplicationStatus) SetBinding(r *corev1.LocalObjectReference)
SetBinding sets BindingStatus representing binding status
func (*WebsphereTraditionalApplicationStatus) SetCondition ¶
func (s *WebsphereTraditionalApplicationStatus) SetCondition(c common.StatusCondition)
SetCondition ...
func (*WebsphereTraditionalApplicationStatus) SetImageReference ¶
func (s *WebsphereTraditionalApplicationStatus) SetImageReference(imageReference string)
SetImageReference sets Docker image reference on the status portion of the CR
type WebsphereTraditionalApplicationStorage ¶
type WebsphereTraditionalApplicationStorage 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"`
// The directory inside the container where this persisted storage will be bound to.
// +operator-sdk:csv:customresourcedefinitions:order=26,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=27,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 (*WebsphereTraditionalApplicationStorage) DeepCopy ¶
func (in *WebsphereTraditionalApplicationStorage) DeepCopy() *WebsphereTraditionalApplicationStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsphereTraditionalApplicationStorage.
func (*WebsphereTraditionalApplicationStorage) DeepCopyInto ¶
func (in *WebsphereTraditionalApplicationStorage) DeepCopyInto(out *WebsphereTraditionalApplicationStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebsphereTraditionalApplicationStorage) GetMountPath ¶
func (s *WebsphereTraditionalApplicationStorage) GetMountPath() string
GetMountPath returns mount path for persistent volume
func (*WebsphereTraditionalApplicationStorage) GetSize ¶
func (s *WebsphereTraditionalApplicationStorage) GetSize() string
GetSize returns pesistent volume size
func (*WebsphereTraditionalApplicationStorage) GetVolumeClaimTemplate ¶
func (s *WebsphereTraditionalApplicationStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
GetVolumeClaimTemplate returns a template representing requested persistent volume