componentconfig

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

Documentation

Index

Constants

View Source
const GroupName = "lighthousecomponentconfig"

GroupName is the group name used in this package

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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
	Timeout  time.Duration
	WebHooks HookConfigurationList
}

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
	Endpoint string
	Stages   HookStageList
}

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
	Type          StageType
	Action        StageActionType
	Position      HookPosition
	FailurePolicy FailurePolicyType
}

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.

func (HookStage) GetURI

func (in HookStage) GetURI() string

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"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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