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

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: spl.GroupName, Version: "v1alpha1"}
)

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 SignPolicy

type SignPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SignPolicySpec   `json:"spec,omitempty"`
	Status SignPolicyStatus `json:"status,omitempty"`
}

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

func (*SignPolicy) DeepCopy

func (in *SignPolicy) DeepCopy() *SignPolicy

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

func (*SignPolicy) DeepCopyInto

func (in *SignPolicy) DeepCopyInto(out *SignPolicy)

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

func (*SignPolicy) DeepCopyObject

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

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

type SignPolicyList

type SignPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SignPolicy `json:"items"`
}

SignPolicyList contains a list of EnforcePolicy

func (*SignPolicyList) DeepCopy

func (in *SignPolicyList) DeepCopy() *SignPolicyList

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

func (*SignPolicyList) DeepCopyInto

func (in *SignPolicyList) DeepCopyInto(out *SignPolicyList)

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

func (*SignPolicyList) DeepCopyObject

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

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

type SignPolicySpec

type SignPolicySpec struct {
	SignPolicy *policy.SignPolicy `json:"policy,omitempty"`
}

SignPolicySpec defines the desired state of SignPolicy

func (*SignPolicySpec) DeepCopy

func (in *SignPolicySpec) DeepCopy() *SignPolicySpec

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

func (*SignPolicySpec) DeepCopyInto

func (in *SignPolicySpec) DeepCopyInto(out *SignPolicySpec)

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

type SignPolicyStatus

type SignPolicyStatus struct {
}

SignPolicyStatus defines the observed state of SignPolicy

func (*SignPolicyStatus) DeepCopy

func (in *SignPolicyStatus) DeepCopy() *SignPolicyStatus

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

func (*SignPolicyStatus) DeepCopyInto

func (in *SignPolicyStatus) DeepCopyInto(out *SignPolicyStatus)

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