v1alpha1

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 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.

Package v1alpha1 contains API Schema definitions for the cs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.ibm.com

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 cs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.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: "operator.ibm.com", Version: "v1alpha1"}

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

Functions

Types

type Cert

type Cert struct {
	Issuer      CertIssuer `json:"issuer"`
	CommonName  string     `json:"repository,omitempty"`
	DNSNames    []string   `json:"dnsNames,omitempty"`
	IPAddresses []string   `json:"ipAddresses,omitempty"`
}

func (*Cert) DeepCopy

func (in *Cert) DeepCopy() *Cert

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

func (*Cert) DeepCopyInto

func (in *Cert) DeepCopyInto(out *Cert)

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

type CertIssuer

type CertIssuer struct {
	Name string     `json:"name"`
	Kind IssuerKind `json:"kind"`
}

func (*CertIssuer) DeepCopy

func (in *CertIssuer) DeepCopy() *CertIssuer

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

func (*CertIssuer) DeepCopyInto

func (in *CertIssuer) DeepCopyInto(out *CertIssuer)

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

type Condition

type Condition struct {
	Type               ConditionType   `json:"type"`
	Status             ConditionStatus `json:"status"`
	LastTransitionTime metav1.Time     `json:"lastTransitionTime"`
	Reason             string          `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	Message            string          `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionList

type ConditionList []Condition

func (ConditionList) DeepCopy

func (in ConditionList) DeepCopy() ConditionList

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

func (ConditionList) DeepCopyInto

func (in ConditionList) DeepCopyInto(out *ConditionList)

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

type ConditionStatus

type ConditionStatus string
const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

type ConditionType

type ConditionType string
const (
	ResourceCreating         ConditionType = "ResourceCreating"
	WaitingResource          ConditionType = "WaitingResource"
	ResourceFailedOnCreation ConditionType = "ResourceFailedOnCreation"
	DiscoveringClusterInfo   ConditionType = "DiscoveringClusterInfo"
)

type IssuerKind

type IssuerKind string
const (
	ClusterIssuer IssuerKind = "ClusterIssuer"
	Issuer        IssuerKind = "Issuer"
)

type ManagementIngress

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

	Spec   ManagementIngressSpec   `json:"spec,omitempty"`
	Status ManagementIngressStatus `json:"status,omitempty"`
}

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

func (*ManagementIngress) DeepCopy

func (in *ManagementIngress) DeepCopy() *ManagementIngress

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

func (*ManagementIngress) DeepCopyInto

func (in *ManagementIngress) DeepCopyInto(out *ManagementIngress)

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

func (*ManagementIngress) DeepCopyObject

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

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

type ManagementIngressList

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

ManagementIngressList contains a list of ManagementIngress

func (*ManagementIngressList) DeepCopy

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

func (*ManagementIngressList) DeepCopyInto

func (in *ManagementIngressList) DeepCopyInto(out *ManagementIngressList)

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

func (*ManagementIngressList) DeepCopyObject

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

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

type ManagementIngressSpec

type ManagementIngressSpec struct {
	ManagementState   ManagementState          `json:"managementState"`
	ImageRegistry     string                   `json:"imageRegistry"`
	Image             OperandImage             `json:"image,omitempty"`
	Replicas          int32                    `json:"replicas,omitempty"`
	Resources         *v1.ResourceRequirements `json:"resources,omitempty"`
	NodeSelector      map[string]string        `json:"nodeSelector,omitempty"`
	Tolerations       []v1.Toleration          `json:"tolerations,omitempty"`
	AllowedHostHeader string                   `json:"allowedHostHeader,omitempty"`
	Cert              *Cert                    `json:"cert"`
	RouteHost         string                   `json:"routeHost"`
	Config            map[string]string        `json:"config,omitempty"`
	FIPSEnabled       bool                     `json:"fipsEnabled,omitempty"`
}

ManagementIngressSpec defines the desired state of ManagementIngress

func (*ManagementIngressSpec) DeepCopy

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

func (*ManagementIngressSpec) DeepCopyInto

func (in *ManagementIngressSpec) DeepCopyInto(out *ManagementIngressSpec)

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

type ManagementIngressStatus

type ManagementIngressStatus struct {
	Conditions map[string]ConditionList `json:"condition,omitempty"`
	PodState   PodStateMap              `json:"podstate"`
	Host       string                   `json:"host"`
	State      OperandState             `json:"operandState"`
}

ManagementIngressStatus defines the observed state of ManagementIngress

func (*ManagementIngressStatus) DeepCopy

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

func (*ManagementIngressStatus) DeepCopyInto

func (in *ManagementIngressStatus) DeepCopyInto(out *ManagementIngressStatus)

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

type ManagementState

type ManagementState string
const (
	// Managed means that the operator is actively managing its resources and trying to keep the component active.
	// It will only upgrade the component if it is safe to do so
	ManagementStateManaged ManagementState = "Managed"
	// Unmanaged means that the operator will not take any action related to the component
	ManagementStateUnmanaged ManagementState = "Unmanaged"
)

type OperandImage

type OperandImage struct {
	Repository string `json:"repository,omitempty"`
	Tag        string `json:"tag,omitempty"`
}

func (*OperandImage) DeepCopy

func (in *OperandImage) DeepCopy() *OperandImage

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

func (*OperandImage) DeepCopyInto

func (in *OperandImage) DeepCopyInto(out *OperandImage)

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

type OperandState

type OperandState struct {
	Status  StatusType `json:"status"`
	Message string     `json:"message"`
}

func (*OperandState) DeepCopy

func (in *OperandState) DeepCopy() *OperandState

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

func (*OperandState) DeepCopyInto

func (in *OperandState) DeepCopyInto(out *OperandState)

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

type PodStateMap

type PodStateMap map[PodStateType][]string

func (PodStateMap) DeepCopy

func (in PodStateMap) DeepCopy() PodStateMap

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

func (PodStateMap) DeepCopyInto

func (in PodStateMap) DeepCopyInto(out *PodStateMap)

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

type PodStateType

type PodStateType string
const (
	PodStateTypeReady    PodStateType = "ready"
	PodStateTypeNotReady PodStateType = "notReady"
	PodStateTypeFailed   PodStateType = "failed"
)

type StatusType

type StatusType string
const (
	StatusFailed     StatusType = "Failed"
	StatusSuccessful StatusType = "Successful"
	StatusDeploying  StatusType = "Deploying"
)

Jump to

Keyboard shortcuts

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