v1alpha1

package
v0.0.0-...-14652f6 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Package v1alpha1 contains API Schema definitions for the operator 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 Container

type Container struct {
	// Docker Image
	Image string `json:"image,omitempty"`
	// Resources and limits for container
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

type IBMLicensingHub

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

	Spec   IBMLicensingHubSpec   `json:"spec,omitempty"`
	Status IBMLicensingHubStatus `json:"status,omitempty"`
}

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

func (*IBMLicensingHub) DeepCopy

func (in *IBMLicensingHub) DeepCopy() *IBMLicensingHub

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

func (*IBMLicensingHub) DeepCopyInto

func (in *IBMLicensingHub) DeepCopyInto(out *IBMLicensingHub)

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

func (*IBMLicensingHub) DeepCopyObject

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

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

type IBMLicensingHubList

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

IBMLicensingHubList contains a list of IBMLicensingHub

func (*IBMLicensingHubList) DeepCopy

func (in *IBMLicensingHubList) DeepCopy() *IBMLicensingHubList

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

func (*IBMLicensingHubList) DeepCopyInto

func (in *IBMLicensingHubList) DeepCopyInto(out *IBMLicensingHubList)

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

func (*IBMLicensingHubList) DeepCopyObject

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

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

type IBMLicensingHubSpec

type IBMLicensingHubSpec struct {

	// Opt-in license acceptance is required to create resources
	License License `json:"license"`

	// Receiver Settings
	ReceiverContainer Container `json:"receiverContainer,omitempty"`

	// Database Settings
	DatabaseContainer Container `json:"databaseContainer,omitempty"`

	// Storage class used by database to provide persistency
	StorageClass string `json:"storageClass,omitempty"`

	// Persistent Volume Claim Capacity
	Capacity string `json:"capacity,omitempty"`

	// IBM License Service Hub Pod pull policy, default: IfNotPresent
	// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
	ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

	// Array of pull secrets which should include existing at InstanceNamespace secret to allow pulling IBM Licensing Hub images
	ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`

	// Secret name used to store application token, either one that exists, or one that will be created
	APISecretToken string `json:"apiSecretToken,omitempty"`

	// options: self-signed or custom
	// +kubebuilder:validation:Enum=self-signed;custom
	HTTPSCertsSource string `json:"httpsCertsSource,omitempty"`

	// Route parameters
	RouteOptions *IBMLicensingRouteOptions `json:"routeOptions,omitempty"`

	// Version
	Version string `json:"version,omitempty"`
}

IBMLicensingHubSpec defines the desired state of IBMLicensingHub

func (*IBMLicensingHubSpec) DeepCopy

func (in *IBMLicensingHubSpec) DeepCopy() *IBMLicensingHubSpec

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

func (*IBMLicensingHubSpec) DeepCopyInto

func (in *IBMLicensingHubSpec) DeepCopyInto(out *IBMLicensingHubSpec)

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

type IBMLicensingHubStatus

type IBMLicensingHubStatus struct {
	// 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
	LicensingHubPods []corev1.PodStatus `json:"LicensingHubPods"`
}

IBMLicensingHubStatus defines the observed state of IBMLicensingHub

func (*IBMLicensingHubStatus) DeepCopy

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

func (*IBMLicensingHubStatus) DeepCopyInto

func (in *IBMLicensingHubStatus) DeepCopyInto(out *IBMLicensingHubStatus)

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

type IBMLicensingRouteOptions

type IBMLicensingRouteOptions struct {
	TLS *routev1.TLSConfig `json:"tls,omitempty"`
}

func (*IBMLicensingRouteOptions) DeepCopy

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

func (*IBMLicensingRouteOptions) DeepCopyInto

func (in *IBMLicensingRouteOptions) DeepCopyInto(out *IBMLicensingRouteOptions)

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

type License

type License struct {
	// Accept is an opt-in license acceptance required to deploy resources
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="License Acceptance"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	Accept bool `json:"accept"`
}

License properties

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.

Jump to

Keyboard shortcuts

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