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: 6 Imported by: 0

Documentation

Overview

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

Package v1 contains API Schema definitions for the actions v1 API group +k8s:deepcopy-gen=package,register +groupName=actions.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: "actions.kappnav.io", Version: "v1"}

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

Functions

Types

type KindActionMapping

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

	Spec   KindActionMappingSpec   `json:"spec,omitempty"`
	Status KindActionMappingStatus `json:"status,omitempty"`
}

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

func (*KindActionMapping) DeepCopy

func (in *KindActionMapping) DeepCopy() *KindActionMapping

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

func (*KindActionMapping) DeepCopyInto

func (in *KindActionMapping) DeepCopyInto(out *KindActionMapping)

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

func (*KindActionMapping) DeepCopyObject

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

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

type KindActionMappingList

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

KindActionMappingList contains a list of KindActionMapping

func (*KindActionMappingList) DeepCopy

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

func (*KindActionMappingList) DeepCopyInto

func (in *KindActionMappingList) DeepCopyInto(out *KindActionMappingList)

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

func (*KindActionMappingList) DeepCopyObject

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

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

type KindActionMappingSpec

type KindActionMappingSpec 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
	Precedence int                    `json:"precedence,omitempty"`
	Mappings   []MappingConfiguration `json:"mappings,omitempty"`
}

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

func (*KindActionMappingSpec) DeepCopy

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

func (*KindActionMappingSpec) DeepCopyInto

func (in *KindActionMappingSpec) DeepCopyInto(out *KindActionMappingSpec)

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

type KindActionMappingStatus

type KindActionMappingStatus struct {
}

KindActionMappingStatus defines the observed state of KindActionMapping +k8s:openapi-gen=true

func (*KindActionMappingStatus) DeepCopy

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

func (*KindActionMappingStatus) DeepCopyInto

func (in *KindActionMappingStatus) DeepCopyInto(out *KindActionMappingStatus)

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

type MappingConfiguration

type MappingConfiguration struct {
	APIVersion string             `json:"apiVersion,omitempty"`
	Owner      OwnerConfiguration `json:"owner,omitempty"`
	Kind       string             `json:"kind,omitempty"`
	Subkind    string             `json:"subkind,omitempty"`
	Name       string             `json:"name,omitempty"`
	Mapname    string             `json:"mapname,omitempty"`
}

MappingConfiguration defines resource constraints for Mapping configuration

func (*MappingConfiguration) DeepCopy

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

func (*MappingConfiguration) DeepCopyInto

func (in *MappingConfiguration) DeepCopyInto(out *MappingConfiguration)

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

type OwnerConfiguration added in v0.10.0

type OwnerConfiguration struct {
	Kind       string `json:"kind,omitempty"`
	UID        string `json:"uid,omitempty"`
	APIVersion string `json:"apiVersion,omitempty"`
}

OwnerConfiguration defines resource constraints for Owner configuration

Jump to

Keyboard shortcuts

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