Documentation
¶
Overview ¶
Copyright 2020 IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package v1alpha1 contains API Schema definitions for the operators v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operators.ibm.com
Package v1alpha1 contains API Schema definitions for the operators v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operators.ibm.com
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type CommonWebUI
- type CommonWebUIConfig
- type CommonWebUIList
- type CommonWebUISpec
- type CommonWebUIStatus
- type GlobalUIConfig
- type LegacyConfig
- type LegacyGlobalUIConfig
- type LegacyHeader
- type LegacyHeaderList
- type LegacyHeaderSpec
- type LegacyHeaderStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operators.ibm.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type CommonWebUI ¶
type CommonWebUI struct { v1.TypeMeta `json:",inline"` v1.ObjectMeta `json:"metadata,omitempty"` Spec CommonWebUISpec `json:"spec,omitempty"` Status CommonWebUIStatus `json:"status,omitempty"` }
CommonWebUI is the Schema for the commonwebuis API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=commonwebuis,scope=Namespaced
func (*CommonWebUI) DeepCopy ¶
func (in *CommonWebUI) DeepCopy() *CommonWebUI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonWebUI.
func (*CommonWebUI) DeepCopyInto ¶
func (in *CommonWebUI) DeepCopyInto(out *CommonWebUI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommonWebUI) DeepCopyObject ¶
func (in *CommonWebUI) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CommonWebUIConfig ¶
type CommonWebUIConfig struct { ServiceName string `json:"serviceName,omitempty"` ImageRegistry string `json:"imageRegistry,omitempty"` ImageTag string `json:"imageTag,omitempty"` CPULimits string `json:"cpuLimits,omitempty"` CPUMemory string `json:"cpuMemory,omitempty"` RequestLimits string `json:"requestLimits,omitempty"` RequestMemory string `json:"requestMemory,omitempty"` IngressPath string `json:"ingressPath,omitempty"` }
CommonWebUIConfig defines the desired state of CommonWebUIConfig +k8s:openapi-gen=true
func (*CommonWebUIConfig) DeepCopy ¶
func (in *CommonWebUIConfig) DeepCopy() *CommonWebUIConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonWebUIConfig.
func (*CommonWebUIConfig) DeepCopyInto ¶
func (in *CommonWebUIConfig) DeepCopyInto(out *CommonWebUIConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonWebUIList ¶
type CommonWebUIList struct { v1.TypeMeta `json:",inline"` v1.ListMeta `json:"metadata,omitempty"` Items []CommonWebUI `json:"items"` }
CommonWebUIList contains a list of CommonWebUI
func (*CommonWebUIList) DeepCopy ¶
func (in *CommonWebUIList) DeepCopy() *CommonWebUIList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonWebUIList.
func (*CommonWebUIList) DeepCopyInto ¶
func (in *CommonWebUIList) DeepCopyInto(out *CommonWebUIList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommonWebUIList) DeepCopyObject ¶
func (in *CommonWebUIList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CommonWebUISpec ¶
type CommonWebUISpec struct { CommonWebUIConfig CommonWebUIConfig `json:"commonWebUIConfig,omitempty"` GlobalUIConfig GlobalUIConfig `json:"globalUIConfig,omitempty"` OperatorVersion string `json:"operatorVersion,omitempty"` }
CommonWebUISpec defines the desired state of CommonWebUISpec +k8s:openapi-gen=true
func (*CommonWebUISpec) DeepCopy ¶
func (in *CommonWebUISpec) DeepCopy() *CommonWebUISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonWebUISpec.
func (*CommonWebUISpec) DeepCopyInto ¶
func (in *CommonWebUISpec) DeepCopyInto(out *CommonWebUISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonWebUIStatus ¶
type CommonWebUIStatus struct { // PodNames will hold the names of the commonwebui's Nodes []string `json:"nodes"` }
CommonWebUIStatus defines the observed state of CommonWebUI +k8s:openapi-gen=true
func (*CommonWebUIStatus) DeepCopy ¶
func (in *CommonWebUIStatus) DeepCopy() *CommonWebUIStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonWebUIStatus.
func (*CommonWebUIStatus) DeepCopyInto ¶
func (in *CommonWebUIStatus) DeepCopyInto(out *CommonWebUIStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalUIConfig ¶
type GlobalUIConfig struct { PullSecret string `json:"pullSecret,omitempty"` RouterURL string `json:"routerURL,omitempty"` IdentityProviderURL string `json:"identityProviderURL,omitempty"` AuthServiceURL string `json:"authServiceURL,omitempty"` CloudPakVersion string `json:"cloudPakVersion,omitempty"` DefaultAdminUser string `json:"defaultAdminUser,omitempty"` DefaultAuth string `json:"defaultAuth,omitempty"` OSAuth string `json:"osAuth,omitempty"` EnterpriseLDAP string `json:"enterpriseLDAP,omitempty"` EnterpriseSAML string `json:"enterpriseSAML,omitempty"` RouterHTTPSPort int32 `json:"routerHTTPSPort,omitempty"` ClusterName string `json:"clusterName,omitempty"` SessionPollingInterval int32 `json:"sessionPollingInterval,omitempty"` }
GlobalUIConfig defines the desired state of GlobalUIConfig +k8s:openapi-gen=true
func (*GlobalUIConfig) DeepCopy ¶
func (in *GlobalUIConfig) DeepCopy() *GlobalUIConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalUIConfig.
func (*GlobalUIConfig) DeepCopyInto ¶
func (in *GlobalUIConfig) DeepCopyInto(out *GlobalUIConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LegacyConfig ¶
type LegacyConfig struct { ServiceName string `json:"serviceName,omitempty"` ImageRegistry string `json:"imageRegistry,omitempty"` ImageTag string `json:"imageTag,omitempty"` CPULimits string `json:"cpuLimits,omitempty"` CPUMemory string `json:"cpuMemory,omitempty"` RequestLimits string `json:"requestLimits,omitempty"` RequestMemory string `json:"requestMemory,omitempty"` LegacyLogoPath string `json:"legacyLogoPath,omitempty"` LegacyLogoWidth string `json:"legacyLogoWidth,omitempty"` LegacyLogoHeight string `json:"legacyLogoHeight,omitempty"` LegacySupportURL string `json:"legacySupportURL,omitempty"` LegacyDocURL string `json:"legacyDocURL,omitempty"` LegacyLogoAltText string `json:"legacyLogoAltText,omitempty"` IngressPath string `json:"ingressPath,omitempty"` }
LegacyConfig defines the desired state of LegacyConfig +k8s:openapi-gen=true
func (*LegacyConfig) DeepCopy ¶
func (in *LegacyConfig) DeepCopy() *LegacyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacyConfig.
func (*LegacyConfig) DeepCopyInto ¶
func (in *LegacyConfig) DeepCopyInto(out *LegacyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LegacyGlobalUIConfig ¶
type LegacyGlobalUIConfig struct { PullSecret string `json:"pullSecret,omitempty"` RouterURL string `json:"routerURL,omitempty"` IdentityProviderURL string `json:"identityProviderURL,omitempty"` AuthServiceURL string `json:"authServiceURL,omitempty"` CloudPakVersion string `json:"cloudPakVersion,omitempty"` DefaultAdminUser string `json:"defaultAdminUser,omitempty"` RouterHTTPSPort int32 `json:"routerHTTPSPort,omitempty"` ClusterName string `json:"clusterName,omitempty"` SessionPollingInterval int32 `json:"sessionPollingInterval,omitempty"` }
LegacyGlobalUIConfig defines the desired state of LegacyGlobalUIConfig +k8s:openapi-gen=true
func (*LegacyGlobalUIConfig) DeepCopy ¶
func (in *LegacyGlobalUIConfig) DeepCopy() *LegacyGlobalUIConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacyGlobalUIConfig.
func (*LegacyGlobalUIConfig) DeepCopyInto ¶
func (in *LegacyGlobalUIConfig) DeepCopyInto(out *LegacyGlobalUIConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LegacyHeader ¶
type LegacyHeader struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LegacyHeaderSpec `json:"spec,omitempty"` Status LegacyHeaderStatus `json:"status,omitempty"` }
LegacyHeader is the Schema for the legacyHeader API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=legacyheaders,scope=Namespaced
func (*LegacyHeader) DeepCopy ¶
func (in *LegacyHeader) DeepCopy() *LegacyHeader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacyHeader.
func (*LegacyHeader) DeepCopyInto ¶
func (in *LegacyHeader) DeepCopyInto(out *LegacyHeader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LegacyHeader) DeepCopyObject ¶
func (in *LegacyHeader) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LegacyHeaderList ¶
type LegacyHeaderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LegacyHeader `json:"items"` }
LegacyHeaderList contains a list of LegacyHeader
func (*LegacyHeaderList) DeepCopy ¶
func (in *LegacyHeaderList) DeepCopy() *LegacyHeaderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacyHeaderList.
func (*LegacyHeaderList) DeepCopyInto ¶
func (in *LegacyHeaderList) DeepCopyInto(out *LegacyHeaderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LegacyHeaderList) DeepCopyObject ¶
func (in *LegacyHeaderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LegacyHeaderSpec ¶
type LegacyHeaderSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html LegacyConfig LegacyConfig `json:"legacyConfig,omitempty"` LegacyGlobalUIConfig LegacyGlobalUIConfig `json:"legacyGlobalUIConfig,omitempty"` OperatorVersion string `json:"operatorVersion,omitempty"` }
LegacyHeaderSpec defines the desired state of LegacyHeaderSpec +k8s:openapi-gen=true
func (*LegacyHeaderSpec) DeepCopy ¶
func (in *LegacyHeaderSpec) DeepCopy() *LegacyHeaderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacyHeaderSpec.
func (*LegacyHeaderSpec) DeepCopyInto ¶
func (in *LegacyHeaderSpec) DeepCopyInto(out *LegacyHeaderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LegacyHeaderStatus ¶
type LegacyHeaderStatus struct { // PodNames will hold the names of the legacyheader's Nodes []string `json:"nodes"` }
LegacyHeaderStatus defines the observed state of LegacyHeaderService +k8s:openapi-gen=true
func (*LegacyHeaderStatus) DeepCopy ¶
func (in *LegacyHeaderStatus) DeepCopy() *LegacyHeaderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacyHeaderStatus.
func (*LegacyHeaderStatus) DeepCopyInto ¶
func (in *LegacyHeaderStatus) DeepCopyInto(out *LegacyHeaderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.