v1alpha1

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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.

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.

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

Constants

This section is empty.

Variables

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

Types

type CloudPakInfo

type CloudPakInfo struct {
	LogoURL     string `json:"logoURL,omitempty"`
	Label       string `json:"label,omitempty"`
	Display     string `json:"display,omitempty"`
	LandingPage string `json:"landingPage,omitempty"`
}

func (*CloudPakInfo) DeepCopy

func (in *CloudPakInfo) DeepCopy() *CloudPakInfo

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

func (*CloudPakInfo) DeepCopyInto

func (in *CloudPakInfo) DeepCopyInto(out *CloudPakInfo)

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

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"`
	LandingPage   string `json:"landingPage,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"`
	Version           string            `json:"version,omitempty"`
	Replicas          int32             `json:"replicas,omitempty"`
	Resources         Resources         `json:"resources,omitempty"`
	License           License           `json:"license,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"`
	Versions Versions `json:"versions,omitempty"`
}

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"`
	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"`
	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"`
	CloudPakVersion        string `json:"cloudPakVersion,omitempty"`
	DefaultAdminUser       string `json:"defaultAdminUser,omitempty"`
	SessionPollingInterval int32  `json:"sessionPollingInterval,omitempty"`
}

LegacyGlobalUIConfig defines the desired state of LegacyGlobalUIConfig +k8s:openapi-gen=true

func (*LegacyGlobalUIConfig) DeepCopy

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"`
	Version              string               `json:"version,omitempty"`
	License              License              `json:"license,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"`
	Versions Versions `json:"versions,omitempty"`
}

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.

type License

type License struct {
	Accept bool `json:"accept,omitempty"`
}

SwitcherItemSpec defines the desired state of SwitcherItem

func (*License) DeepCopy

func (in *License) DeepCopy() *License

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

func (*License) DeepCopyInto

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

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

type Limits

type Limits struct {
	CPULimits string `json:"cpu,omitempty"`
	CPUMemory string `json:"memory,omitempty"`
}

func (*Limits) DeepCopy

func (in *Limits) DeepCopy() *Limits

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

func (*Limits) DeepCopyInto

func (in *Limits) DeepCopyInto(out *Limits)

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

type Requests

type Requests struct {
	RequestLimits string `json:"cpu,omitempty"`
	RequestMemory string `json:"memory,omitempty"`
}

func (*Requests) DeepCopy

func (in *Requests) DeepCopy() *Requests

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

func (*Requests) DeepCopyInto

func (in *Requests) DeepCopyInto(out *Requests)

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

type Resources

type Resources struct {
	Requests Requests `json:"requests,omitempty"`
	Limits   Limits   `json:"limits,omitempty"`
}

func (*Resources) DeepCopy

func (in *Resources) DeepCopy() *Resources

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

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

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

type SwitcherItem

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

	Spec   SwitcherItemSpec   `json:"spec,omitempty"`
	Status SwitcherItemStatus `json:"status,omitempty"`
}

SwitcherItem is the Schema for the switcheritems API +kubebuilder:subresource:status +kubebuilder:resource:path=switcheritems,scope=Namespaced

func (*SwitcherItem) DeepCopy

func (in *SwitcherItem) DeepCopy() *SwitcherItem

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

func (*SwitcherItem) DeepCopyInto

func (in *SwitcherItem) DeepCopyInto(out *SwitcherItem)

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

func (*SwitcherItem) DeepCopyObject

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

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

type SwitcherItemList

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

SwitcherItemList contains a list of SwitcherItem

func (*SwitcherItemList) DeepCopy

func (in *SwitcherItemList) DeepCopy() *SwitcherItemList

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

func (*SwitcherItemList) DeepCopyInto

func (in *SwitcherItemList) DeepCopyInto(out *SwitcherItemList)

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

func (*SwitcherItemList) DeepCopyObject

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

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

type SwitcherItemSpec

type SwitcherItemSpec struct {
	CloudPakInfo    CloudPakInfo `json:"cloudPakInfo,omitempty"`
	OperatorVersion string       `json:"operatorVersion,omitempty"`
	Version         string       `json:"version,omitempty"`
	License         License      `json:"license,omitempty"`
}

SwitcherItemSpec defines the desired state of SwitcherItem

func (*SwitcherItemSpec) DeepCopy

func (in *SwitcherItemSpec) DeepCopy() *SwitcherItemSpec

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

func (*SwitcherItemSpec) DeepCopyInto

func (in *SwitcherItemSpec) DeepCopyInto(out *SwitcherItemSpec)

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

type SwitcherItemStatus

type SwitcherItemStatus struct {
	Versions Versions `json:"versions,omitempty"`
}

SwitcherItemStatus defines the observed state of SwitcherItem

func (*SwitcherItemStatus) DeepCopy

func (in *SwitcherItemStatus) DeepCopy() *SwitcherItemStatus

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

func (*SwitcherItemStatus) DeepCopyInto

func (in *SwitcherItemStatus) DeepCopyInto(out *SwitcherItemStatus)

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

type Versions

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

func (*Versions) DeepCopy

func (in *Versions) DeepCopy() *Versions

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

func (*Versions) DeepCopyInto

func (in *Versions) DeepCopyInto(out *Versions)

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

Jump to

Keyboard shortcuts

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