v1alpha1

package
v0.0.0-...-9b5a78d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=apis.integrityverifier.io

Index

Constants

View Source
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

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

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 back 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 VerifierConfig

type VerifierConfig struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata"`
	// Specification of the desired behavior of VerifierConfig.
	Spec VerifierConfigSpec `json:"spec"`
	// Observed status of VerifierConfig.
	Status VerifierConfigStatus `json:"status"`
}

VerifierConfig 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 VerifierConfig is the CRD. Use this command to generate deepcopy for it:

func (*VerifierConfig) DeepCopy

func (in *VerifierConfig) DeepCopy() *VerifierConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifierConfig.

func (*VerifierConfig) DeepCopyInto

func (in *VerifierConfig) DeepCopyInto(out *VerifierConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VerifierConfig) DeepCopyObject

func (in *VerifierConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VerifierConfigList

type VerifierConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []*VerifierConfig `json:"items"`
}

VerifierConfigList is a list of Workflow resources

func (*VerifierConfigList) DeepCopy

func (in *VerifierConfigList) DeepCopy() *VerifierConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifierConfigList.

func (*VerifierConfigList) DeepCopyInto

func (in *VerifierConfigList) DeepCopyInto(out *VerifierConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VerifierConfigList) DeepCopyObject

func (in *VerifierConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VerifierConfigSpec

type VerifierConfigSpec struct {
	VerifierConfig *iec.VerifierConfig `json:",inline"`
}

VerifierConfigSpec is a desired state description of VerifierConfig.

func (*VerifierConfigSpec) DeepCopy

func (in *VerifierConfigSpec) DeepCopy() *VerifierConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifierConfigSpec.

func (*VerifierConfigSpec) DeepCopyInto

func (in *VerifierConfigSpec) DeepCopyInto(out *VerifierConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VerifierConfigStatus

type VerifierConfigStatus struct {
	State   string `json:"state"`
	Message string `json:"message"`
}

VerifierConfig describes the lifecycle status of VerifierConfig.

func (*VerifierConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifierConfigStatus.

func (*VerifierConfigStatus) DeepCopyInto

func (in *VerifierConfigStatus) DeepCopyInto(out *VerifierConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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