Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_componentconfig_HookConfigurationItem_To_v1alpha1_HookConfigurationItem(in *componentconfig.HookConfigurationItem, out *HookConfigurationItem, ...) error
- func Convert_componentconfig_HookConfiguration_To_v1alpha1_HookConfiguration(in *componentconfig.HookConfiguration, out *HookConfiguration, ...) error
- func Convert_componentconfig_HookStage_To_v1alpha1_HookStage(in *componentconfig.HookStage, out *HookStage, s conversion.Scope) error
- func Convert_v1alpha1_HookConfigurationItem_To_componentconfig_HookConfigurationItem(in *HookConfigurationItem, out *componentconfig.HookConfigurationItem, ...) error
- func Convert_v1alpha1_HookConfiguration_To_componentconfig_HookConfiguration(in *HookConfiguration, out *componentconfig.HookConfiguration, ...) error
- func Convert_v1alpha1_HookStage_To_componentconfig_HookStage(in *HookStage, out *componentconfig.HookStage, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type FailurePolicyType
- type HookConfiguration
- type HookConfigurationItem
- type HookConfigurationList
- type HookPosition
- type HookStage
- type HookStageList
- type StageActionType
- type StageType
Constants ¶
const GroupName = "lighthousecomponentconfig"
GroupName is the group name used in this package
const GroupVersion = "v1alpha1"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
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 RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 ¶
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 `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 ¶
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" )