v1alpha1

package
v0.0.0-...-56f2d6c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the helm v1alpha1 API group +kubebuilder:object:generate=true +groupName=helm.samples.stacks.crossplane.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "helm.samples.stacks.crossplane.io", Version: "v1alpha1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	HelmChartInstallKind             = reflect.TypeOf(HelmChartInstall{}).Name()
	HelmChartInstallKindAPIVersion   = HelmChartInstallKind + "." + GroupVersion.String()
	HelmChartInstallGroupVersionKind = GroupVersion.WithKind(HelmChartInstallKind)
)

Type metadata.

Functions

This section is empty.

Types

type EventName

type EventName string

EventName represents the lifecycle event that the controller should respond to. There are certain events that are recognized.

type GVK

type GVK string

The GVK should be in domain format, so Kind.group/version

type HelmChartInstall

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

	Spec   HelmChartInstallSpec   `json:"spec,omitempty"`
	Status HelmChartInstallStatus `json:"status,omitempty"`
}

HelmChartInstall is the Schema for the helmchartinstalls API

func (*HelmChartInstall) DeepCopy

func (in *HelmChartInstall) DeepCopy() *HelmChartInstall

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

func (*HelmChartInstall) DeepCopyInto

func (in *HelmChartInstall) DeepCopyInto(out *HelmChartInstall)

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

func (*HelmChartInstall) DeepCopyObject

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

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

type HelmChartInstallList

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

HelmChartInstallList contains a list of HelmChartInstall

func (*HelmChartInstallList) DeepCopy

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

func (*HelmChartInstallList) DeepCopyInto

func (in *HelmChartInstallList) DeepCopyInto(out *HelmChartInstallList)

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

func (*HelmChartInstallList) DeepCopyObject

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

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

type HelmChartInstallSpec

type HelmChartInstallSpec struct {
}

HelmChartInstallSpec defines the desired state of HelmChartInstall

func (*HelmChartInstallSpec) DeepCopy

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

func (*HelmChartInstallSpec) DeepCopyInto

func (in *HelmChartInstallSpec) DeepCopyInto(out *HelmChartInstallSpec)

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

type HelmChartInstallStatus

type HelmChartInstallStatus struct {
}

HelmChartInstallStatus defines the observed state of HelmChartInstall

func (*HelmChartInstallStatus) DeepCopy

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

func (*HelmChartInstallStatus) DeepCopyInto

func (in *HelmChartInstallStatus) DeepCopyInto(out *HelmChartInstallStatus)

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

type HookConfiguration

type HookConfiguration struct {
	Engine    ResourceEngineConfiguration `json:"engine,omitempty"`
	Directory string                      `json:"directory"`
}

HookConfiguration is the configuration for an individual hook which will be executed in response to an event.

func (*HookConfiguration) DeepCopy

func (in *HookConfiguration) DeepCopy() *HookConfiguration

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

func (*HookConfiguration) DeepCopyInto

func (in *HookConfiguration) DeepCopyInto(out *HookConfiguration)

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

type HookConfigurations

type HookConfigurations []HookConfiguration

func (HookConfigurations) DeepCopy

func (in HookConfigurations) DeepCopy() HookConfigurations

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

func (HookConfigurations) DeepCopyInto

func (in HookConfigurations) DeepCopyInto(out *HookConfigurations)

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

type ResourceEngineConfiguration

type ResourceEngineConfiguration struct {
	Type string `json:"type"`
}

func (*ResourceEngineConfiguration) DeepCopy

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

func (*ResourceEngineConfiguration) DeepCopyInto

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

type StackConfiguration

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

	Spec   StackConfigurationSpec   `json:"spec,omitempty"`
	Status StackConfigurationStatus `json:"status,omitempty"`
}

StackConfiguration is the Schema for the stackconfigurations API

func (*StackConfiguration) DeepCopy

func (in *StackConfiguration) DeepCopy() *StackConfiguration

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

func (*StackConfiguration) DeepCopyInto

func (in *StackConfiguration) DeepCopyInto(out *StackConfiguration)

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

func (*StackConfiguration) DeepCopyObject

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

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

type StackConfigurationBehavior

type StackConfigurationBehavior struct {
	Hooks  map[EventName]HookConfigurations `json:"hooks"`
	Engine ResourceEngineConfiguration      `json:"engine,omitempty"`
}

StackConfigurationBehavior specifies an individual behavior, by listing resources which should be processed.

func (*StackConfigurationBehavior) DeepCopy

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

func (*StackConfigurationBehavior) DeepCopyInto

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

type StackConfigurationBehaviors

type StackConfigurationBehaviors struct {
	CRDs   map[GVK]StackConfigurationBehavior `json:"crds,omitempty"`
	Engine ResourceEngineConfiguration        `json:"engine,omitempty"`
	// Theoretically, source and engine could be specified at a per-crd level or
	// per-hook level as well.
	Source StackConfigurationSource `json:"source,omitempty"`
}

StackConfigurationBehaviors specifies behaviors for the stack

func (*StackConfigurationBehaviors) DeepCopy

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

func (*StackConfigurationBehaviors) DeepCopyInto

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

type StackConfigurationList

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

StackConfigurationList contains a list of StackConfiguration

func (*StackConfigurationList) DeepCopy

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

func (*StackConfigurationList) DeepCopyInto

func (in *StackConfigurationList) DeepCopyInto(out *StackConfigurationList)

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

func (*StackConfigurationList) DeepCopyObject

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

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

type StackConfigurationSource

type StackConfigurationSource struct {
	// a container image id
	Image string `json:"image,omitempty"`
}

StackConfigurationSource is the stack image which this stack configuration is from. In the future, other source types may be supported, such as a URL.

func (*StackConfigurationSource) DeepCopy

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

func (*StackConfigurationSource) DeepCopyInto

func (in *StackConfigurationSource) DeepCopyInto(out *StackConfigurationSource)

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

type StackConfigurationSpec

type StackConfigurationSpec struct {
	// Important: Run "make" to regenerate code after modifying this file
	Behaviors StackConfigurationBehaviors `json:"behaviors,omitempty"`
}

StackConfigurationSpec defines the desired state of StackConfiguration

func (*StackConfigurationSpec) DeepCopy

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

func (*StackConfigurationSpec) DeepCopyInto

func (in *StackConfigurationSpec) DeepCopyInto(out *StackConfigurationSpec)

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

type StackConfigurationStatus

type StackConfigurationStatus struct {
}

StackConfigurationStatus defines the observed state of StackConfiguration

func (*StackConfigurationStatus) DeepCopy

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

func (*StackConfigurationStatus) DeepCopyInto

func (in *StackConfigurationStatus) DeepCopyInto(out *StackConfigurationStatus)

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