Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=research.ibm.com
Index ¶
Constants ¶
const ( // StatePending means CRD instance is created; Pod info has been updated into CRD instance; // Pod has been accepted by the system, but one or more of the containers has not been started. StatePending string = "Pending" // StateRunning means Pod has been bound to a node and all of the containers have been started. StateRunning string = "Running" // StateSucceeded means that all containers in the Pod have voluntarily terminated with a container // exit code of 0, and the system is not going to restart any of these containers. StateSucceeded string = "Succeeded" // StateFailed means that all containers in the Pod have terminated, and at least one container has // terminated in a failure (exited with a non-zero exit code or was stopped by the system). StateFailed string = "Failed" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: epl.GroupName, Version: "v1alpha1"}
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 EnforcerConfig ¶
type EnforcerConfig struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. metav1.ObjectMeta `json:"metadata"` // Specification of the desired behavior of EnforcerConfig. Spec EnforcerConfigSpec `json:"spec"` // Observed status of EnforcerConfig. Status EnforcerConfigStatus `json:"status"` }
EnforcerConfig is the CRD. Use this command to generate deepcopy for it: ./k8s.io/code-generator/generate-groups.sh all github.com/IBM/pas-client-go/pkg/crd/packageadmissionsignature/v1/apis github.com/IBM/pas-client-go/pkg/crd/ "packageadmissionsignature:v1" For more details of code-generator, please visit https://github.com/kubernetes/code-generator +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object EnforcerConfig is the CRD. Use this command to generate deepcopy for it:
func (*EnforcerConfig) DeepCopy ¶
func (in *EnforcerConfig) DeepCopy() *EnforcerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnforcerConfig.
func (*EnforcerConfig) DeepCopyInto ¶
func (in *EnforcerConfig) DeepCopyInto(out *EnforcerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnforcerConfig) DeepCopyObject ¶
func (in *EnforcerConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnforcerConfigList ¶
type EnforcerConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []*EnforcerConfig `json:"items"` }
EnforcerConfigList is a list of Workflow resources
func (*EnforcerConfigList) DeepCopy ¶
func (in *EnforcerConfigList) DeepCopy() *EnforcerConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnforcerConfigList.
func (*EnforcerConfigList) DeepCopyInto ¶
func (in *EnforcerConfigList) DeepCopyInto(out *EnforcerConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnforcerConfigList) DeepCopyObject ¶
func (in *EnforcerConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnforcerConfigSpec ¶
type EnforcerConfigSpec struct {
EnforcerConfig *iec.EnforcerConfig `json:",inline"`
}
EnforcerConfigSpec is a desired state description of EnforcerConfig.
func (*EnforcerConfigSpec) DeepCopy ¶
func (in *EnforcerConfigSpec) DeepCopy() *EnforcerConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnforcerConfigSpec.
func (*EnforcerConfigSpec) DeepCopyInto ¶
func (in *EnforcerConfigSpec) DeepCopyInto(out *EnforcerConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnforcerConfigStatus ¶
EnforcerConfig describes the lifecycle status of EnforcerConfig.
func (*EnforcerConfigStatus) DeepCopy ¶
func (in *EnforcerConfigStatus) DeepCopy() *EnforcerConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnforcerConfigStatus.
func (*EnforcerConfigStatus) DeepCopyInto ¶
func (in *EnforcerConfigStatus) DeepCopyInto(out *EnforcerConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.