v1alpha1

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GroupName = "lighthousecomponentconfig"

GroupName is the group name used in this package

View Source
const GroupVersion = "v1alpha1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_componentconfig_HookConfigurationItem_To_v1alpha1_HookConfigurationItem

func Convert_componentconfig_HookConfigurationItem_To_v1alpha1_HookConfigurationItem(in *componentconfig.HookConfigurationItem, out *HookConfigurationItem, s conversion.Scope) error

Convert_componentconfig_HookConfigurationItem_To_v1alpha1_HookConfigurationItem is an autogenerated conversion function.

func Convert_componentconfig_HookConfiguration_To_v1alpha1_HookConfiguration

func Convert_componentconfig_HookConfiguration_To_v1alpha1_HookConfiguration(in *componentconfig.HookConfiguration, out *HookConfiguration, s conversion.Scope) error

Convert_componentconfig_HookConfiguration_To_v1alpha1_HookConfiguration is an autogenerated conversion function.

func Convert_componentconfig_HookStage_To_v1alpha1_HookStage

func Convert_componentconfig_HookStage_To_v1alpha1_HookStage(in *componentconfig.HookStage, out *HookStage, s conversion.Scope) error

Convert_componentconfig_HookStage_To_v1alpha1_HookStage is an autogenerated conversion function.

func Convert_v1alpha1_HookConfigurationItem_To_componentconfig_HookConfigurationItem

func Convert_v1alpha1_HookConfigurationItem_To_componentconfig_HookConfigurationItem(in *HookConfigurationItem, out *componentconfig.HookConfigurationItem, s conversion.Scope) error

Convert_v1alpha1_HookConfigurationItem_To_componentconfig_HookConfigurationItem is an autogenerated conversion function.

func Convert_v1alpha1_HookConfiguration_To_componentconfig_HookConfiguration

func Convert_v1alpha1_HookConfiguration_To_componentconfig_HookConfiguration(in *HookConfiguration, out *componentconfig.HookConfiguration, s conversion.Scope) error

Convert_v1alpha1_HookConfiguration_To_componentconfig_HookConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_HookStage_To_componentconfig_HookStage

func Convert_v1alpha1_HookStage_To_componentconfig_HookStage(in *HookStage, out *componentconfig.HookStage, s conversion.Scope) error

Convert_v1alpha1_HookStage_To_componentconfig_HookStage is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type FailurePolicyType

type FailurePolicyType string
const (
	PolicyFail   FailurePolicyType = "Fail"
	PolicyIgnore FailurePolicyType = "Ignore"
)

type HookConfiguration

type HookConfiguration struct {
	metav1.TypeMeta `json:",inline"`
	Timeout         time.Duration         `json:"timeout,omitempty"`
	WebHooks        HookConfigurationList `json:"webhooks,omitempty"`
}

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.

func (*HookConfiguration) DeepCopyObject

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

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

type HookConfigurationItem

type HookConfigurationItem struct {
	Name     string        `json:"name,omitempty"`
	Endpoint string        `json:"endpoint,omitempty"`
	Stages   HookStageList `json:"stages,omitempty"`
}

func (*HookConfigurationItem) DeepCopy

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

func (*HookConfigurationItem) DeepCopyInto

func (in *HookConfigurationItem) DeepCopyInto(out *HookConfigurationItem)

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

type HookConfigurationList

type HookConfigurationList []HookConfigurationItem

func (HookConfigurationList) DeepCopy

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

func (HookConfigurationList) DeepCopyInto

func (in HookConfigurationList) DeepCopyInto(out *HookConfigurationList)

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

type HookPosition

type HookPosition string
const (
	PreHook  HookPosition = "PreHook"
	PostHook HookPosition = "PostHook"
)

type HookStage

type HookStage struct {
	Name          string            `json:"name,omitempty"`
	Type          StageType         `json:"type,omitempty"`
	Action        StageActionType   `json:"action,omitempty"`
	Position      HookPosition      `json:"position,omitempty"`
	FailurePolicy FailurePolicyType `json:"failurePolicy,omitempty"`
}

func (*HookStage) DeepCopy

func (in *HookStage) DeepCopy() *HookStage

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

func (*HookStage) DeepCopyInto

func (in *HookStage) DeepCopyInto(out *HookStage)

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

type HookStageList

type HookStageList []HookStage

func (HookStageList) DeepCopy

func (in HookStageList) DeepCopy() HookStageList

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

func (HookStageList) DeepCopyInto

func (in HookStageList) DeepCopyInto(out *HookStageList)

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

type StageActionType

type StageActionType string
const (
	ListAction            StageActionType = "list"
	InspectAction         StageActionType = "inspect"
	InspectSizePathAction StageActionType = "inspect-size-path"
	CreateAction          StageActionType = "create"
	StartAction           StageActionType = "start"
	StopAction            StageActionType = "stop"
	UpdateResourceAction  StageActionType = "update-resource"
	RemoveAction          StageActionType = "remove"
	AttachAction          StageActionType = "attach"
	ResizeTTY             StageActionType = "resize-tty"
	Stats                 StageActionType = "stats"
	InspectByRefAction    StageActionType = "inspect-by-ref"
	InspectByIDAction     StageActionType = "inspect-by-id"
	PullAction            StageActionType = "pull"
	HistoryAction         StageActionType = "history"
	LogsActions           StageActionType = "logs"
)

type StageType

type StageType string
const (
	Container StageType = "container"
	Image     StageType = "image"
	Exec      StageType = "exec"
)

Jump to

Keyboard shortcuts

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