v1beta1

package
Version: v0.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API. +groupName=kritis

Index

Constants

This section is empty.

Variables

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

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 AttestationAuthority

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

	Spec AttestationAuthoritySpec `json:"spec"`
}

func (*AttestationAuthority) DeepCopy

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

func (*AttestationAuthority) DeepCopyInto

func (in *AttestationAuthority) DeepCopyInto(out *AttestationAuthority)

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

func (*AttestationAuthority) DeepCopyObject

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

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

type AttestationAuthorityList

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

	Items []AttestationAuthority `json:"items"`
}

AttestationAuthorityList is a list of AttestationAuthority resources

func (*AttestationAuthorityList) DeepCopy

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

func (*AttestationAuthorityList) DeepCopyInto

func (in *AttestationAuthorityList) DeepCopyInto(out *AttestationAuthorityList)

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

func (*AttestationAuthorityList) DeepCopyObject

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

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

type AttestationAuthoritySpec

type AttestationAuthoritySpec struct {
	NoteReference        string `json:"noteReference"`
	PrivateKeySecretName string `json:"privateKeySecretName"`
	PublicKeyData        string `json:"publicKeyData"`
	PolicyType           string `json:"policyType"`
}

AttestationAuthoritySpec is the spec for a AttestationAuthority resource

func (*AttestationAuthoritySpec) DeepCopy

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

func (*AttestationAuthoritySpec) DeepCopyInto

func (in *AttestationAuthoritySpec) DeepCopyInto(out *AttestationAuthoritySpec)

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

type BuildPolicy

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

	Spec BuildPolicySpec `json:"spec"`
}

func (*BuildPolicy) DeepCopy

func (in *BuildPolicy) DeepCopy() *BuildPolicy

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

func (*BuildPolicy) DeepCopyInto

func (in *BuildPolicy) DeepCopyInto(out *BuildPolicy)

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

func (*BuildPolicy) DeepCopyObject

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

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

type BuildPolicyList

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

	Items []BuildPolicy `json:"items"`
}

BuildPolicyList is a list of BuildPolicy resources

func (*BuildPolicyList) DeepCopy

func (in *BuildPolicyList) DeepCopy() *BuildPolicyList

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

func (*BuildPolicyList) DeepCopyInto

func (in *BuildPolicyList) DeepCopyInto(out *BuildPolicyList)

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

func (*BuildPolicyList) DeepCopyObject

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

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

type BuildPolicySpec

type BuildPolicySpec struct {
	AttestationAuthorityName string            `yaml:"attestationAuthorityName"`
	BuildRequirements        BuildRequirements `yaml:"buildRequirements"`
}

BuildPolicySpec is the spec for a BuildPolicy resource

func (*BuildPolicySpec) DeepCopy

func (in *BuildPolicySpec) DeepCopy() *BuildPolicySpec

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

func (*BuildPolicySpec) DeepCopyInto

func (in *BuildPolicySpec) DeepCopyInto(out *BuildPolicySpec)

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

type BuildRequirements

type BuildRequirements struct {
	BuiltFrom string `yaml:"builtFrom"`
}

func (*BuildRequirements) DeepCopy

func (in *BuildRequirements) DeepCopy() *BuildRequirements

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

func (*BuildRequirements) DeepCopyInto

func (in *BuildRequirements) DeepCopyInto(out *BuildRequirements)

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

type GenericAttestationPolicy

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

	Spec GenericAttestationPolicySpec `json:"spec"`
}

func (*GenericAttestationPolicy) DeepCopy

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

func (*GenericAttestationPolicy) DeepCopyInto

func (in *GenericAttestationPolicy) DeepCopyInto(out *GenericAttestationPolicy)

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

func (*GenericAttestationPolicy) DeepCopyObject

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

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

type GenericAttestationPolicyList

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

	Items []GenericAttestationPolicy `json:"items"`
}

GenericAttestationPolicyList is a list of GenericAttestationPolicy resources

func (*GenericAttestationPolicyList) DeepCopy

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

func (*GenericAttestationPolicyList) DeepCopyInto

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

func (*GenericAttestationPolicyList) DeepCopyObject

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

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

type GenericAttestationPolicySpec

type GenericAttestationPolicySpec struct {
	AttestationAuthorityNames []string `json:"attestationAuthorityNames"`
}

GenericAttestationPolicySpec is the spec for a GenericAttestationPolicy resource

func (*GenericAttestationPolicySpec) DeepCopy

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

func (*GenericAttestationPolicySpec) DeepCopyInto

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

type GrafeasConfigSpec

type GrafeasConfigSpec struct {
	Addr string `json:"addr"`
}

GrafeasConfigSpec holds the configuration required for connecting to grafeas instance

func (*GrafeasConfigSpec) DeepCopy

func (in *GrafeasConfigSpec) DeepCopy() *GrafeasConfigSpec

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

func (*GrafeasConfigSpec) DeepCopyInto

func (in *GrafeasConfigSpec) DeepCopyInto(out *GrafeasConfigSpec)

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

type ImageSecurityPolicy

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

	Spec ImageSecurityPolicySpec `json:"spec"`
}

func (*ImageSecurityPolicy) DeepCopy

func (in *ImageSecurityPolicy) DeepCopy() *ImageSecurityPolicy

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

func (*ImageSecurityPolicy) DeepCopyInto

func (in *ImageSecurityPolicy) DeepCopyInto(out *ImageSecurityPolicy)

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

func (*ImageSecurityPolicy) DeepCopyObject

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

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

type ImageSecurityPolicyList

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

	Items []ImageSecurityPolicy `json:"items"`
}

ImageSecurityPolicyList is a list of ImageSecurityPolicy resources

func (*ImageSecurityPolicyList) DeepCopy

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

func (*ImageSecurityPolicyList) DeepCopyInto

func (in *ImageSecurityPolicyList) DeepCopyInto(out *ImageSecurityPolicyList)

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

func (*ImageSecurityPolicyList) DeepCopyObject

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

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

type ImageSecurityPolicySpec

type ImageSecurityPolicySpec struct {
	ImageAllowlist                   []string                         `json:"imageAllowlist"`
	PackageVulnerabilityRequirements PackageVulnerabilityRequirements `json:"packageVulnerabilityRequirements"`
	AttestationAuthorityNames        []string                         `json:"attestationAuthorityNames"`
}

ImageSecurityPolicySpec is the spec for a ImageSecurityPolicy resource

func (*ImageSecurityPolicySpec) DeepCopy

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

func (*ImageSecurityPolicySpec) DeepCopyInto

func (in *ImageSecurityPolicySpec) DeepCopyInto(out *ImageSecurityPolicySpec)

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

type KritisConfig

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

	Spec KritisConfigSpec `json:"spec"`
}

func (*KritisConfig) DeepCopy

func (in *KritisConfig) DeepCopy() *KritisConfig

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

func (*KritisConfig) DeepCopyInto

func (in *KritisConfig) DeepCopyInto(out *KritisConfig)

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

func (*KritisConfig) DeepCopyObject

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

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

type KritisConfigList

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

	Items []KritisConfig `json:"items"`
}

KritisConfigList is a list of KritisConfig resources

func (*KritisConfigList) DeepCopy

func (in *KritisConfigList) DeepCopy() *KritisConfigList

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

func (*KritisConfigList) DeepCopyInto

func (in *KritisConfigList) DeepCopyInto(out *KritisConfigList)

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

func (*KritisConfigList) DeepCopyObject

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

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

type KritisConfigSpec

type KritisConfigSpec struct {
	// The backend to use for storing security metadata
	MetadataBackend string `json:"metadataBackend"`
	// Cron job time interval, as Duration e.g. "1h", "2s"
	CronInterval string `json:"cronInterval"`
	// Server address, with the preceding colon
	ServerAddr string `json:"serverAddr"`
	// Grafeas configuration used for communicating with Grafeas backend
	Grafeas GrafeasConfigSpec `json:"grafeas"`
}

KritisConfigSpec is the spec for a KritisConfig resource

func (*KritisConfigSpec) DeepCopy

func (in *KritisConfigSpec) DeepCopy() *KritisConfigSpec

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

func (*KritisConfigSpec) DeepCopyInto

func (in *KritisConfigSpec) DeepCopyInto(out *KritisConfigSpec)

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

type PackageVulnerabilityRequirements

type PackageVulnerabilityRequirements struct {
	// CVE's with fixes.
	MaximumSeverity string `json:"maximumSeverity"`
	// CVE's without fixes.
	MaximumFixUnavailableSeverity string   `json:"maximumFixNotAvailableSeverity"`
	AllowlistCVEs                 []string `json:"allowlistCVEs"`
}

PackageVulnerabilityRequirements is the requirements for package vulnz for an ImageSecurityPolicy

func (*PackageVulnerabilityRequirements) DeepCopy

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

func (*PackageVulnerabilityRequirements) DeepCopyInto

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL