v1alpha1

package
v0.0.0-...-47a937c Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=apis.integrityshield.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: verifyresourcestatus.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 VerifyResourceStatus

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

	Spec   VerifyResourceStatusSpec   `json:"spec,omitempty"`
	Status VerifyResourceStatusStatus `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 VerifyResourceStatus is the CRD. Use this command to generate deepcopy for it:

func (*VerifyResourceStatus) DeepCopy

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

func (*VerifyResourceStatus) DeepCopyInto

func (in *VerifyResourceStatus) DeepCopyInto(out *VerifyResourceStatus)

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

func (*VerifyResourceStatus) DeepCopyObject

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

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

type VerifyResourceStatusList

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

VerifyResourceStatusList contains a list of VerifyResourceStatus

func (*VerifyResourceStatusList) DeepCopy

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

func (*VerifyResourceStatusList) DeepCopyInto

func (in *VerifyResourceStatusList) DeepCopyInto(out *VerifyResourceStatusList)

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

func (*VerifyResourceStatusList) DeepCopyObject

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

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

type VerifyResourceStatusSpec

type VerifyResourceStatusSpec struct {
	ConstraintName  string         `json:"constraintName"`
	Violation       bool           `json:"violation"`
	TotalViolations int            `json:"totalViolations"`
	Violations      []VerifyResult `json:"violations"`
	NonViolations   []VerifyResult `json:"nonViolations"`
	ObservationTime string         `json:"observationTime"`
}

VerifyResourceStatusSpec defines the desired state of AppEnforcePolicy

func (*VerifyResourceStatusSpec) DeepCopy

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

func (*VerifyResourceStatusSpec) DeepCopyInto

func (in *VerifyResourceStatusSpec) DeepCopyInto(out *VerifyResourceStatusSpec)

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

type VerifyResourceStatusStatus

type VerifyResourceStatusStatus struct {
}

VerifyResourceStatusStatus defines the observed state of VerifyResourceStatus

func (*VerifyResourceStatusStatus) DeepCopy

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

func (*VerifyResourceStatusStatus) DeepCopyInto

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

type VerifyResult

type VerifyResult struct {
	Namespace  string     `json:"namespace"`
	Name       string     `json:"name"`
	Kind       string     `json:"kind"`
	ApiGroup   string     `json:"apiGroup"`
	ApiVersion string     `json:"apiVersion"`
	Result     string     `json:"result"`
	Signer     string     `json:"signer,omitempty"`
	SignedTime *time.Time `json:"signedTime,omitempty"`
	SigRef     string     `json:"sigRef,omitempty"`
}

func (*VerifyResult) DeepCopy

func (in *VerifyResult) DeepCopy() *VerifyResult

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

func (*VerifyResult) DeepCopyInto

func (in *VerifyResult) DeepCopyInto(out *VerifyResult)

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