Documentation ¶
Index ¶
Constants ¶
const GroupName = "lighthousecomponentconfig"
GroupName is the group name used in this package
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
func (in *HookConfigurationItem) DeepCopy() *HookConfigurationItem
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 ¶
func (in HookConfigurationList) DeepCopy() HookConfigurationList
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookStage.
func (*HookStage) DeepCopyInto ¶
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" )