v1

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the kappnav v1 API group +k8s:deepcopy-gen=package,register +groupName=kappnav.operator.kappnav.io

Package v1 contains API Schema definitions for the kappnav v1 API group +k8s:deepcopy-gen=package,register +groupName=kappnav.operator.kappnav.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "kappnav.operator.kappnav.io", Version: "v1"}

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

Functions

Types

type Environment

type Environment struct {
	KubeEnv string `json:"kubeEnv,omitempty"`
}

Environment variables.

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

type Kappnav

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

	Spec   KappnavSpec   `json:"spec,omitempty"`
	Status KappnavStatus `json:"status,omitempty"`
}

Kappnav is the Schema for the kappnavs API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*Kappnav) DeepCopy

func (in *Kappnav) DeepCopy() *Kappnav

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

func (*Kappnav) DeepCopyInto

func (in *Kappnav) DeepCopyInto(out *Kappnav)

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

func (*Kappnav) DeepCopyObject

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

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

type KappnavContainerConfiguration

type KappnavContainerConfiguration struct {
	Repository Repository                  `json:"repository,omitempty"`
	Tag        Tag                         `json:"tag,omitempty"`
	Resources  *KappnavResourceConstraints `json:"resources,omitempty"`
}

KappnavContainerConfiguration defines the configuration for a Kappnav container

func (*KappnavContainerConfiguration) DeepCopy

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

func (*KappnavContainerConfiguration) DeepCopyInto

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

type KappnavImageConfiguration

type KappnavImageConfiguration struct {
	PullPolicy  corev1.PullPolicy `json:"pullPolicy,omitempty"`
	PullSecrets []string          `json:"pullSecrets,omitempty"`
}

KappnavImageConfiguration ...

func (*KappnavImageConfiguration) DeepCopy

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

func (*KappnavImageConfiguration) DeepCopyInto

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

type KappnavList

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

KappnavList contains a list of Kappnav

func (*KappnavList) DeepCopy

func (in *KappnavList) DeepCopy() *KappnavList

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

func (*KappnavList) DeepCopyInto

func (in *KappnavList) DeepCopyInto(out *KappnavList)

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

func (*KappnavList) DeepCopyObject

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

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

type KappnavResourceConstraints

type KappnavResourceConstraints struct {
	Enabled  bool       `json:"enabled,omitempty"`
	Requests *Resources `json:"requests,omitempty"`
	Limits   *Resources `json:"limits,omitempty"`
}

KappnavResourceConstraints defines resource constraints for a Kappnav container

func (*KappnavResourceConstraints) DeepCopy

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

func (*KappnavResourceConstraints) DeepCopyInto

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

type KappnavSpec

type KappnavSpec struct {
	AppNavAPI           *KappnavContainerConfiguration            `json:"appNavAPI,omitempty"`
	AppNavController    *KappnavContainerConfiguration            `json:"appNavController,omitempty"`
	AppNavUI            *KappnavContainerConfiguration            `json:"appNavUI,omitempty"`
	ExtensionContainers map[string]*KappnavContainerConfiguration `json:"extensionContainers,omitempty"`
	Image               *KappnavImageConfiguration                `json:"image,omitempty"`
	Env                 *Environment                              `json:"env,omitempty"`
	Logging             map[string]string                         `json:"logging,omitempty"`
}

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

func (*KappnavSpec) DeepCopy

func (in *KappnavSpec) DeepCopy() *KappnavSpec

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

func (*KappnavSpec) DeepCopyInto

func (in *KappnavSpec) DeepCopyInto(out *KappnavSpec)

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

type KappnavStatus

type KappnavStatus struct {
	Conditions []StatusCondition `json:"conditions,omitempty"`
}

KappnavStatus defines the observed state of Kappnav +k8s:openapi-gen=true

func (*KappnavStatus) DeepCopy

func (in *KappnavStatus) DeepCopy() *KappnavStatus

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

func (*KappnavStatus) DeepCopyInto

func (in *KappnavStatus) DeepCopyInto(out *KappnavStatus)

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

type Repository

type Repository string

Repository ...

type Resources

type Resources struct {
	CPU    string `json:"cpu,omitempty"`
	Memory string `json:"memory,omitempty"`
}

Resources ...

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 StatusCondition

type StatusCondition struct {
	LastTransitionTime *metav1.Time           `json:"lastTransitionTime,omitempty"`
	LastUpdateTime     metav1.Time            `json:"lastUpdateTime,omitempty"`
	Reason             string                 `json:"reason,omitempty"`
	Message            string                 `json:"message,omitempty"`
	Status             corev1.ConditionStatus `json:"status,omitempty"`
	Type               StatusConditionType    `json:"type,omitempty"`
}

StatusCondition ...

func (*StatusCondition) DeepCopy

func (in *StatusCondition) DeepCopy() *StatusCondition

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

func (*StatusCondition) DeepCopyInto

func (in *StatusCondition) DeepCopyInto(out *StatusCondition)

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

type StatusConditionType

type StatusConditionType string

StatusConditionType ...

const (
	// StatusConditionTypeReconciled ...
	StatusConditionTypeReconciled StatusConditionType = "Reconciled"
)

type Tag

type Tag string

Tag ...

Jump to

Keyboard shortcuts

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