Documentation
¶
Overview ¶
Package v8 contains API Schema definitions for the weblogic v8 API group +k8s:deepcopy-gen=package,register +groupName=weblogic.oracle
Package v8 contains API Schema definitions for the weblogic v8 API group +k8s:deepcopy-gen=package,register +groupName=weblogic.oracle
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type AdminServer
- type AdminService
- type Channel
- type Cluster
- type ClusterStatus
- type Configuration
- type Domain
- type DomainCondition
- type DomainList
- type DomainSpec
- type DomainStatus
- type Istio
- type KubernetesResource
- type ManagedServer
- type Model
- type Opss
- type ProbeTuning
- type ServerHealth
- type ServerPod
- type ServerService
- type ServerStatus
- type Shutdown
- type SubsystemHealth
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "weblogic.oracle", Version: "v8"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AdminServer ¶
type AdminServer struct {
// Configures which of the admin server's WebLogic admin channels should be exposed outside
// the Kubernetes cluster via a node port service.
AdminService AdminService `json:"adminService"`
// If present, every time this value is updated the operator will restart
// the required servers.
RestartVersion string `json:"restartVersion,omitempty"`
// Server Pod
ServerPod ServerPod `json:"serverPod,omitempty"`
// Customization affecting ClusterIP Kubernetes services for WebLogic Server instances.
ServerService ServerService `json:"serverService,omitempty"`
// The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, or IF_NEEDED.
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a
// default value.
ServerStartPolicy string `json:"serverStartPolicy,omitempty"`
// The state in which the server is to be started. Legal values are "RUNNING" or "ADMIN"
ServerStartState string `json:"serverStartState,omitempty"`
}
AdminServer represents the operator configuration for the admin server +k8s:openapi-gen=true
func (*AdminServer) DeepCopy ¶
func (in *AdminServer) DeepCopy() *AdminServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminServer.
func (*AdminServer) DeepCopyInto ¶
func (in *AdminServer) DeepCopyInto(out *AdminServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdminService ¶
type AdminService struct {
// The annotations to be added to generated resources.
Annotations map[string]string `json:"annotations,omitempty"`
// Specifies which of the admin server's WebLogic channels should be exposed outside
// the Kubernetes cluster via a node port service, along with the node port for
// each channel. If not specified, the admin server's node port service will
// not be created.
// +x-kubernetes-list-type=set
Channels []Channel `json:"channels,omitempty"`
// The labels to be added to generated resources. The label names must not start with "weblogic.".
Labels map[string]string `json:"labels,omitempty"`
}
+k8s:openapi-gen=true
func (*AdminService) DeepCopy ¶
func (in *AdminService) DeepCopy() *AdminService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminService.
func (*AdminService) DeepCopyInto ¶
func (in *AdminService) DeepCopyInto(out *AdminService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Channel ¶
type Channel struct {
// Name of channel
ChannelName string `json:"channelName"`
// Specifies the port number used to access the WebLogic channel outside of the Kubernetes cluster
NodePort int `json:"nodePort,omitempty"`
}
+k8s:openapi-gen=true
func (*Channel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Channel.
func (*Channel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct {
// Specifies whether the number of running cluster members is allowed to drop below the minimum dynamic cluster
// size configured in the WebLogic domain configuration. Otherwise, the operator will ensure that the number of
// running cluster members is not less than the minimum dynamic cluster setting. This setting applies to dynamic
// clusters only. Defaults to true.
AllowReplicasBelowMinDynClusterSize bool `json:"allowReplicasBelowMinDynClusterSize,omitempty"`
// The name of this cluster
ClusterName string `json:"clusterName"`
// Customization affecting ClusterIP Kubernetes services for the WebLogic cluster.
ClusterService KubernetesResource `json:"clusterService,omitempty"`
// The maximum number of Managed Servers instances that the operator will start in parallel for this cluster in
// response to a change in the replicas count. If more Managed Server instances must be started, the operator
// will wait until a Managed Server Pod is in the Ready state before starting the next Managed Server instance.
// A value of 0 means all Managed Server instances will start in parallel. Defaults to 0.
MaxConcurrentStartup int32 `json:"maxConcurrentStartup,omitempty"`
MaxUnavailable int32 `json:"maxUnavailable,omitempty"`
// The number of managed servers to run in this cluster
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a default value.
Replicas int `json:"replicas,omitempty"`
// If present, every time this value is updated the operator will restart
// the required servers.
RestartVersion string `json:"restartVersion,omitempty"`
// Server Pod
ServerPod ServerPod `json:"serverPod,omitempty"`
// Customization affecting ClusterIP Kubernetes services for WebLogic Server instances.
ServerService ServerService `json:"serverService,omitempty"`
// The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, or IF_NEEDED.
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a
// default value.
ServerStartPolicy string `json:"serverStartPolicy,omitempty"`
// The state in which the server is to be started. Legal values are "RUNNING" or "ADMIN"
ServerStartState string `json:"serverStartState,omitempty"`
}
+k8s:openapi-gen=true
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct {
// WebLogic cluster name.
ClusterName string `json:"clusterName,omitempty"`
// The maximum number of cluster members.
MaximumReplicas int `json:"maximumReplicas,omitempty"`
// The minimum number of cluster members.
MinimumReplicas int `json:"minimumReplicas,omitempty"`
// The number of ready cluster members.
ReadyReplicas int `json:"readyReplicas,omitempty"`
// The number of currently running cluster members.
Replicas int `json:"replicas,omitempty"`
// The requested number of cluster members. Cluster members will be started by the operator if this value
// is larger than zero.
ReplicasGoal int `json:"replicasGoal,omitempty"`
}
+k8s:openapi-gen=true
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Configuration ¶
type Configuration struct {
// The introspector job timeout value in seconds. If this field is specified, then the operator's ConfigMap
// data.introspectorJobActiveDeadlineSeconds value is ignored. Defaults to 120 seconds.
IntrospectorJobActiveDeadlineSeconds int `json:"introspectorJobActiveDeadlineSeconds,omitempty"`
// Istio service mesh integration configuration
Istio Istio `json:"istio,omitempty"`
// Model in image model files and properties.
Model Model `json:"model,omitempty"`
// Settings for OPSS security.
Opss Opss `json:"opss,omitempty"`
// Determines how updated configuration overrides are distributed to already running WebLogic Server instances
// following introspection when the domainHomeSourceType is PersistentVolume or Image. Configuration overrides
// are generated during introspection from Secrets, the overrideConfigMap field, and WebLogic domain topology.
// Legal values are DYNAMIC, which means that the operator will distribute updated configuration overrides
// dynamically to running servers, and ON_RESTART, which means that servers will use updated configuration
// overrides only after the server's next restart. The selection of ON_RESTART will not cause servers to restart
// when there are updated configuration overrides available. See also domains.spec.introspectVersion.
// Defaults to DYNAMIC.
OverrideDistributionStrategy string `json:"overrideDistributionStrategy,omitempty"`
// The name of the ConfigMap for WebLogic configuration overrides. If this field is specified, then the value
// of spec.configOverrides is ignored.
OverridesConfigMap string `json:"overridesConfigMap,omitempty"`
// A list of names of the Secrets for WebLogic configuration overrides or model. If this field is specified, then
// the value of spec.configOverrideSecrets is ignored.
// +x-kubernetes-list-type=set
Secrets []string `json:"secrets,omitempty"`
}
+k8s:openapi-gen=true
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Domain ¶
type Domain struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DomainSpec `json:"spec,omitempty"`
Status DomainStatus `json:"status,omitempty"`
}
Domain is the Schema for the domains API +k8s:openapi-gen=true +kubebuilder:subresource:status +genclient +genclient:noStatus
func (*Domain) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Domain.
func (*Domain) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Domain) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DomainCondition ¶
type DomainCondition struct {
// Last time we probed the condition
LastProbeTime string `json:"lastProbeTime,omitempty"`
// Last time the condition transitioned from one status to another
LastTransitionTime string `json:"lastTransitionTime,omitempty"`
// Human-readable message indicating details about last transition
Message string `json:"message,omitempty"`
// Unique, one-word, CamelCase reason for the condition's last transition
Reason string `json:"reason,omitempty"`
// Status is the status of the condition. Can be True, False, Unknown
Status string `json:"status"`
// The type of the condition. Valid types are Progressing,
// Available, and Failed. Required
Type string `json:"type"`
}
Current service state of domain +k8s:openapi-gen=true
func (*DomainCondition) DeepCopy ¶
func (in *DomainCondition) DeepCopy() *DomainCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainCondition.
func (*DomainCondition) DeepCopyInto ¶
func (in *DomainCondition) DeepCopyInto(out *DomainCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainList ¶
type DomainList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Domain `json:"items"`
}
DomainList contains a list of Domain
func (*DomainList) DeepCopy ¶
func (in *DomainList) DeepCopy() *DomainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainList.
func (*DomainList) DeepCopyInto ¶
func (in *DomainList) DeepCopyInto(out *DomainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DomainList) DeepCopyObject ¶
func (in *DomainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DomainSpec ¶
type DomainSpec struct {
// Configuration for the admin server
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a
// default value.
AdminServer AdminServer `json:"adminServer,omitempty"`
// Whether to allow the number of running cluster member Managed Server instances to drop below the minimum
// dynamic cluster size configured in the WebLogic domain configuration, if this is not specified for a specific
// cluster under the clusters field. Defaults to true.
AllowReplicasBelowMinDynClusterSize bool `json:"allowReplicasBelowMinDynClusterSize,omitempty"`
// Configuration for the clusters
// +x-kubernetes-list-type=set
Clusters []Cluster `json:"clusters,omitempty"`
// The name of the config map for optional WebLogic configuration overrides
ConfigOverrides string `json:"configOverrides,omitempty"`
// A list of names of the secrets for optional WebLogic configuration overrides
// +x-kubernetes-list-type=set
ConfigOverrideSecrets []string `json:"configOverrideSecrets,omitempty"`
// Configurations
Configuration Configuration `json:"configuration,omitempty"`
// An optional directory in a server's container for data storage of default and custom file stores. If dataHome
// is not specified or its value is either not set or empty, then the data storage directories are determined
// from the WebLogic domain configuration.
DataHome string `json:"dataHome,omitempty"`
// The folder for the WebLogic Domain
DomainHome string `json:"domainHome,omitempty"`
// True if this domain's home is defined in the docker image for the domain
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a
// default value.
DomainHomeInImage bool `json:"domainHomeInImage,omitempty"`
// Domain home file system source type: Legal values: Image, PersistentVolume, FromModel. Image indicates that
// the domain home file system is present in the container image specified by the image field. PersistentVolume
// indicates that the domain home file system is located on a persistent volume. FromModel indicates that the
// domain home file system will be created and managed by the operator based on a WDT domain model. If this
// field is specified, it overrides the value of domainHomeInImage. If both fields are unspecified, then
// domainHomeSourceType defaults to Image.
DomainHomeSourceType string `json:"domainHomeSourceType,omitempty"`
// The name of the WebLogic domain
DomainUID string `json:"domainUID,omitempty"`
// Specifies whether the server HTTP access log files will be written to the same directory specified in logHome.
// Otherwise, server HTTP access log files will be written to the directory configured in the WebLogic domain
// configuration. Defaults to true.
HttpAccessLogInLogHome bool `json:"httpAccessLogInLogHome,omitempty"`
// The WebLogic Docker image; required when domainHomeInImage is true
Image string `json:"image"`
// The image pull policy for the WebLogic Docker image
ImagePullPolicy string `json:"imagePullPolicy,omitempty"`
// A list of image pull secrets for the WebLogic Docker image
// +x-kubernetes-list-type=set
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets"`
// If true (the default), the server .out file will be included in the pod's stdout.
IncludeServerOutInPodLog bool `json:"includeServerOutInPodLog,omitempty"`
// Changes to this field cause the operator to repeat its introspection of the WebLogic domain configuration.
IntrospectVersion string `json:"introspectVersion,omitempty"`
// The in-pod name of the directory in which to store the domain, node manager, server logs, and server *.out files
LogHome string `json:"logHome"`
// Specified whether the log home folder is enabled
LogHomeEnabled bool `json:"logHomeEnabled,omitempty"`
// Configuration for individual Managed Servers
// +x-kubernetes-list-type=set
ManagedServers []ManagedServer `json:"managedServers,omitempty"`
// The maximum number of cluster member Managed Server instances that the operator will start in parallel
// for a given cluster, if maxConcurrentStartup is not specified for a specific cluster under the clusters field.
// A value of 0 means there is no configured limit. Defaults to 0.
MaxClusterConcurrentStartup int32 `json:"maxClusterConcurrentStartup,omitempty"`
// The number of managed servers to run in any cluster that does not specify a replica count.
// This is a pointer to distinguish between explicit zero and not specified.
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a default value.
Replicas *int32 `json:"replicas,omitempty"`
// If present, every time this value is updated the operator will restart
// the required servers.
RestartVersion string `json:"restartVersion,omitempty"`
// Server Pod
ServerPod ServerPod `json:"serverPod,omitempty"`
// Customization affecting ClusterIP Kubernetes services for WebLogic Server instances.
ServerService ServerService `json:"serverService,omitempty"`
// The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, or IF_NEEDED.
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a
// default value.
ServerStartPolicy string `json:"serverStartPolicy,omitempty"`
// The state in which the server is to be started. Legal values are "RUNNING" or "ADMIN"
ServerStartState string `json:"serverStartState,omitempty"`
// The name of a pre-created Kubernetes secret, in the domain's namepace, that holds the username and password
// needed to boot WebLogic Server
WebLogicCredentialsSecret corev1.SecretReference `json:"webLogicCredentialsSecret"`
}
DomainSpec defines the desired state of Domain +k8s:openapi-gen=true
func (*DomainSpec) DeepCopy ¶
func (in *DomainSpec) DeepCopy() *DomainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSpec.
func (*DomainSpec) DeepCopyInto ¶
func (in *DomainSpec) DeepCopyInto(out *DomainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainStatus ¶
type DomainStatus struct {
// Status of WebLogic clusters in this domain.
// +x-kubernetes-list-type=set
Clusters []ClusterStatus `json:"clusters,omitempty"`
// Current service state of domain
// +x-kubernetes-list-type=set
Conditions []DomainCondition `json:"conditions,omitempty"`
// A human readable message indicating details about why the domain is in this condition
Message string `json:"message,omitempty"`
// A brief CamelCase message indicating details about why the domain is in this state
Reason string `json:"reason,omitempty"`
// The number of running managed servers in the WebLogic cluster if there is
// only one cluster in the domain and where the cluster does not explicitly
// configure its replicas in a cluster specification.
Replicas int `json:"replicas,omitempty"`
// Status of WebLogic servers in this domain
//+x-kubernetes-list-type=set
Servers []ServerStatus `json:"servers,omitempty"`
// RFC 3339 date and time at which the operator started the domain. This will be when
// the operator begins processing and will precede when the various servers
// or clusters are available.
StartTime string `json:"startTime,omitempty"`
}
DomainStatus defines the observed state of Domain +k8s:openapi-gen=true
func (*DomainStatus) DeepCopy ¶
func (in *DomainStatus) DeepCopy() *DomainStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainStatus.
func (*DomainStatus) DeepCopyInto ¶
func (in *DomainStatus) DeepCopyInto(out *DomainStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Istio ¶
type Istio struct {
// True, if this domain is deployed under an Istio service mesh.
Enabled bool `json:"enabled,omitempty"`
// The WebLogic readiness port for Istio. Defaults to 8888.
ReadinessPort int `json:"readinessPort,omitempty"`
}
Istio service mesh integration configuration +k8s:openapi-gen=true
func (*Istio) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Istio.
func (*Istio) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesResource ¶
type KubernetesResource struct {
// The annotations to be attached to generated resources.
Annotations map[string]string `json:"annotations,omitempty"`
// The labels to be attached to generated resources. The label names must
// not start with 'weblogic.
Labels map[string]string `json:"labels,omitempty"`
}
func (*KubernetesResource) DeepCopy ¶
func (in *KubernetesResource) DeepCopy() *KubernetesResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesResource.
func (*KubernetesResource) DeepCopyInto ¶
func (in *KubernetesResource) DeepCopyInto(out *KubernetesResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedServer ¶
type ManagedServer struct {
// If present, every time this value is updated the operator will restart
// the required servers.
RestartVersion string `json:"restartVersion,omitempty"`
// The name of the Managed Server
ServerName string `json:"serverName"`
// Server Pod
ServerPod ServerPod `json:"serverPod,omitempty"`
// Customization affecting ClusterIP Kubernetes services for WebLogic Server instances.
ServerService ServerService `json:"serverService,omitempty"`
// The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, or IF_NEEDED.
// Note: this value is required by WebLogic Operator, but is marked optional because Verrazzano can provide a
// default value.
ServerStartPolicy string `json:"serverStartPolicy,omitempty"`
// The state in which the server is to be started. Legal values are "RUNNING" or "ADMIN"
ServerStartState string `json:"serverStartState,omitempty"`
}
Inline managed server definition
func (*ManagedServer) DeepCopy ¶
func (in *ManagedServer) DeepCopy() *ManagedServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedServer.
func (*ManagedServer) DeepCopyInto ¶
func (in *ManagedServer) DeepCopyInto(out *ManagedServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Model ¶
type Model struct {
// Name of a ConfigMap containing the WebLogic Deploy Tooling model.
ConfigMap string `json:"configMap,omitempty"`
// WebLogic Deploy Tooling domain type. Legal values: WLS, RestrictedJRF, JRF. Defaults to WLS.
DomainType string `json:"domainType,omitempty"`
// Runtime encryption secret. Required when domainHomeSourceType is set to FromModel.
RuntimeEncryptionSecret string `json:"runtimeEncryptionSecret,omitempty"`
}
+k8s:openapi-gen=true
func (*Model) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.
func (*Model) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Opss ¶
type Opss struct {
// Name of a Secret containing the OPSS key wallet file, which must be in a field named walletFile. Use this to
// allow a JRF domain to reuse its entries in the RCU database. This allows you to specify a wallet file that
// was obtained from the domain home after the domain was booted for the first time.
WalletFileSecret string `json:"walletFileSecret,omitempty"`
// Name of a Secret containing the OPSS key passphrase, which must be in a field named walletPassword. Used to
// encrypt and decrypt the wallet that is used for accessing the domain's entries in its RCU database.
WalletPasswordSecret string `json:"walletPasswordSecret,omitempty"`
}
+k8s:openapi-gen=true
func (*Opss) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Opss.
func (*Opss) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProbeTuning ¶
type ProbeTuning struct {
// The number of seconds before the first check is performed.
InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
// The number of seconds between checks.
PeriodSeconds *int32 `json:"periodSeconds,omitempty"`
// The number of seconds with no response that indicates a failure.
TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
}
+k8s:openapi-gen=true
func (*ProbeTuning) DeepCopy ¶
func (in *ProbeTuning) DeepCopy() *ProbeTuning
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeTuning.
func (*ProbeTuning) DeepCopyInto ¶
func (in *ProbeTuning) DeepCopyInto(out *ProbeTuning)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerHealth ¶
type ServerHealth struct {
// RFC 3339 date and time at which the server started
ActivationTime string `json:"activationTime,omitempty"`
// Server health of this WebLogic server. If the value is "Not available", the operator has
// failed to read the health. If the value is "Not available (possibly overloaded)", the
// operator has failed to read the health of the server possibly due to the server is
// in overloaded state"
OverallHealth string `json:"overallHealth,omitempty"`
// Status of unhealthy subsystems, if any
// +x-kubernetes-list-type=set
Subsystems []SubsystemHealth `json:"subsystems,omitempty"`
}
ServerHealth describes the current status and health of a specific WebLogic server. +k8s:openapi-gen=true
func (*ServerHealth) DeepCopy ¶
func (in *ServerHealth) DeepCopy() *ServerHealth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerHealth.
func (*ServerHealth) DeepCopyInto ¶
func (in *ServerHealth) DeepCopyInto(out *ServerHealth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerPod ¶
type ServerPod struct {
// If specified, the pod's scheduling constraints
Affinity corev1.Affinity `json:"affinity,omitempty"`
// The annotations to be added to generated resources.
Annotations map[string]string `json:"annotations,omitempty"`
// Additional containers to be included in the server pod
// +x-kubernetes-list-type=set
Containers []corev1.Container `json:"containers,omitempty"`
// Container-level security attributes. Will override any matching Pod-level attributes. See kubectl
// explain pods.spec.containers.securityContext.
ContainerSecurityContext corev1.SecurityContext `json:"containerSecurityContext,omitempty"`
// A list of environment variables to add to a server
// +x-kubernetes-list-type=set
Env []corev1.EnvVar `json:"env,omitempty"`
// InitContainers holds a list of initialization containers that should
// be run before starting the main containers in this pod.
// +x-kubernetes-list-type=set
InitContainers []corev1.Container `json:"initContainers,omitempty"`
// The labels to be added to generated resources. The label names must not start with "weblogic.".
Labels map[string]string `json:"labels,omitempty"`
// Settings for the liveness probe associated with a server.
LivenessProbe ProbeTuning `json:"livenessProbe,omitempty"`
// NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler
// simply schedules this pod onto that node, assuming that it fits resource requirements.
NodeName string `json:"nodeName,omitempty"`
// Selector which must match a node's labels for the pod to be scheduled on that node.
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// Pod-level security attributes.
PodSecurityContext corev1.PodSecurityContext `json:"podSecurityContext,omitempty"`
// If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical"
// are two special keywords which indicate the highest priorities with the former being the highest priority.
// Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod
// priority will be default or zero if there is no default.
PriorityClassName string `json:"priorityClassName,omitempty"`
// If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its
// containers are ready AND all conditions specified in the readiness gates have status equal to "True" More
// info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md"
// +x-kubernetes-list-type=set
ReadinessGates []corev1.PodReadinessGate `json:"readinessGates,omitempty"`
// Settings for the readiness probe associated with a server.
ReadinessProbe ProbeTuning `json:"readinessProbe,omitempty"`
// Memory and CPU minimum requirements and limits for the server.
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
// Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always.
RestartPolicy string `json:"restartPolicy,omitempty"`
// RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run
// this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty,
// the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the
// default runtime handler.
RuntimeClassName string `json:"runtimeClassName,omitempty"`
// If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be
// dispatched by default scheduler.
SchedulerName string `json:"schedulerName,omitempty"`
// Name of the ServiceAccount to be used to run this pod. If it is not set, default
// ServiceAccount will be used. The ServiceAccount has to exist at the time the pod is created.
ServiceAccountName string `json:"serviceAccountName,omitempty"`
// Configures how the operator should shut down the server instance.
Shutdown Shutdown `json:"shutdown,omitempty"`
// If specified, the pod's tolerations.
// +x-kubernetes-list-type=set
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// Additional volume mounts for the server pod
// +x-kubernetes-list-type=set
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
// Additional volumes to be created in the server pod
// +x-kubernetes-list-type=set
Volumes []corev1.Volume `json:"volumes,omitempty"`
}
+k8s:openapi-gen=true
func (*ServerPod) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerPod.
func (*ServerPod) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerService ¶
type ServerService struct {
// The annotations to be added to generated resources.
Annotations map[string]string `json:"annotations,omitempty"`
// The labels to be added to generated resources. The label names must not start with "weblogic.".
Labels map[string]string `json:"labels,omitempty"`
// If true, operator will create server services even for server instances without running pods.
PrecreateService bool `json:"precreateService"`
}
+k8s:openapi-gen=true
func (*ServerService) DeepCopy ¶
func (in *ServerService) DeepCopy() *ServerService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerService.
func (*ServerService) DeepCopyInto ¶
func (in *ServerService) DeepCopyInto(out *ServerService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerStatus ¶
type ServerStatus struct {
// WebLogic cluster name, if the server is part of a cluster
ClusterName string `json:"clusterName,omitempty"`
// Desired state of this WebLogic Server instance. Values are RUNNING, ADMIN, or SHUTDOWN.
DesiredState string `json:"desiredState"`
// Current status and health of a specific WebLogic server
Health ServerHealth `json:"health"`
// Name of node that is hosting the Pod containing this WebLogic server
NodeName string `json:"nodeName,omitempty"`
// WebLogic server name
ServerName string `json:"serverName"`
// Current state of this WebLogic server
State string `json:"state"`
}
Status of WebLogic servers in this domain +k8s:openapi-gen=true
func (*ServerStatus) DeepCopy ¶
func (in *ServerStatus) DeepCopy() *ServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus.
func (*ServerStatus) DeepCopyInto ¶
func (in *ServerStatus) DeepCopyInto(out *ServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Shutdown ¶
type Shutdown struct {
// For graceful shutdown only, indicates to ignore pending HTTP sessions during in-flight work handling.
// Not required. Defaults to false.
IgnoreSessions bool `json:"ignoreSessions,omitempty"`
// Tells the operator how to shutdown server instances. Not required.
// Defaults to graceful shutdown.
ShutdownType string `json:"shutdownType,omitempty"`
// For graceful shutdown only, number of seconds to wait before aborting in-flight work and shutting down
// the server. Not required. Defaults to 30 seconds.
TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"`
}
func (*Shutdown) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Shutdown.
func (*Shutdown) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubsystemHealth ¶
type SubsystemHealth struct {
// Server health of this WebLogic server
Health string `json:"health"`
// Name of subsystem providing symptom information
SubsystemName string `json:"subsystemName"`
// Symptoms provided by the reporting subsystem.
// +x-kubernetes-list-type=set
Symptoms []string `json:"symptoms,omitempty"`
}
SubsystemHealth describes the current health of a specific subsystem. +k8s:openapi-gen=true
func (*SubsystemHealth) DeepCopy ¶
func (in *SubsystemHealth) DeepCopy() *SubsystemHealth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubsystemHealth.
func (*SubsystemHealth) DeepCopyInto ¶
func (in *SubsystemHealth) DeepCopyInto(out *SubsystemHealth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- admin_server.go
- admin_service.go
- channel.go
- cluster-status.go
- cluster.go
- configuration.go
- doc.go
- domain_condition.go
- domain_spec.go
- domain_status.go
- domain_types.go
- istio.go
- kubernetes_resource.go
- managed_server.go
- model.go
- opss.go
- probe_tuning.go
- register.go
- server_health.go
- server_pod.go
- server_service.go
- server_status.go
- shutdown.go
- subsystem_health.go
- zz_generated.deepcopy.go