v1

package
v0.0.0-...-70b66e7 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 is the v1 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: manifestintegritystate.GroupName, Version: "v1"}
)

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 ManifestIntegrityState

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

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

func (*ManifestIntegrityState) DeepCopy

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

func (*ManifestIntegrityState) DeepCopyInto

func (in *ManifestIntegrityState) DeepCopyInto(out *ManifestIntegrityState)

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

func (*ManifestIntegrityState) DeepCopyObject

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

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

type ManifestIntegrityStateList

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

ManifestIntegrityStateList contains a list of ManifestIntegrityState

func (*ManifestIntegrityStateList) DeepCopy

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

func (*ManifestIntegrityStateList) DeepCopyInto

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

func (*ManifestIntegrityStateList) DeepCopyObject

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

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

type ManifestIntegrityStateSpec

type ManifestIntegrityStateSpec 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"`
}

ManifestIntegrityStateSpec defines the desired state of AppEnforcePolicy

func (*ManifestIntegrityStateSpec) DeepCopy

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

func (*ManifestIntegrityStateSpec) DeepCopyInto

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

type ManifestIntegrityStateStatus

type ManifestIntegrityStateStatus struct {
}

ManifestIntegrityStateStatus defines the observed state of ManifestIntegrityState

func (*ManifestIntegrityStateStatus) DeepCopy

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

func (*ManifestIntegrityStateStatus) 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