Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=integrityverifier.io
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: hrm.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 HelmReleaseMetadata ¶
type HelmReleaseMetadata struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. metav1.ObjectMeta `json:"metadata"` // Specification of the desired behavior of HelmReleaseMetadata. Spec HelmReleaseMetadataSpec `json:"spec"` // Observed status of HelmReleaseMetadata. Status HelmReleaseMetadataStatus `json:"status"` }
HelmReleaseMetadata 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 HelmReleaseMetadata is the CRD. Use this command to generate deepcopy for it:
func (*HelmReleaseMetadata) DeepCopy ¶
func (in *HelmReleaseMetadata) DeepCopy() *HelmReleaseMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseMetadata.
func (*HelmReleaseMetadata) DeepCopyInto ¶
func (in *HelmReleaseMetadata) DeepCopyInto(out *HelmReleaseMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmReleaseMetadata) DeepCopyObject ¶
func (in *HelmReleaseMetadata) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmReleaseMetadataList ¶
type HelmReleaseMetadataList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []HelmReleaseMetadata `json:"items"` }
HelmReleaseMetadataList is a list of Workflow resources
func (*HelmReleaseMetadataList) DeepCopy ¶
func (in *HelmReleaseMetadataList) DeepCopy() *HelmReleaseMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseMetadataList.
func (*HelmReleaseMetadataList) DeepCopyInto ¶
func (in *HelmReleaseMetadataList) DeepCopyInto(out *HelmReleaseMetadataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmReleaseMetadataList) DeepCopyObject ¶
func (in *HelmReleaseMetadataList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmReleaseMetadataSpec ¶
type HelmReleaseMetadataSpec struct { Name string `json:"name"` Chart []byte `json:"chart"` Prov []byte `json:"prov"` Config []byte `json:"config"` Manifest []byte `json:"manifest"` InstallOption string `json:"installOption"` }
HelmReleaseMetadataSpec is a desired state description of HelmReleaseMetadata.
func (*HelmReleaseMetadataSpec) DeepCopy ¶
func (in *HelmReleaseMetadataSpec) DeepCopy() *HelmReleaseMetadataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseMetadataSpec.
func (*HelmReleaseMetadataSpec) DeepCopyInto ¶
func (in *HelmReleaseMetadataSpec) DeepCopyInto(out *HelmReleaseMetadataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmReleaseMetadataStatus ¶
type HelmReleaseMetadataStatus struct { State string `json:"state"` Message string `json:"message"` }
HelmReleaseMetadata describes the lifecycle status of HelmReleaseMetadata.
func (*HelmReleaseMetadataStatus) DeepCopy ¶
func (in *HelmReleaseMetadataStatus) DeepCopy() *HelmReleaseMetadataStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseMetadataStatus.
func (*HelmReleaseMetadataStatus) DeepCopyInto ¶
func (in *HelmReleaseMetadataStatus) DeepCopyInto(out *HelmReleaseMetadataStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.