v1alpha1

package
v1.7.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

+groupName=imagepolicy.k8s.io

Package v1alpha1 is a generated protocol buffer package.

It is generated from these files:
	k8s.io/kubernetes/pkg/apis/imagepolicy/v1alpha1/generated.proto

It has these top-level messages:
	ImageReview
	ImageReviewContainerSpec
	ImageReviewSpec
	ImageReviewStatus

Index

Constants

View Source
const GroupName = "imagepolicy.k8s.io"

GroupName is the group name for this API.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_imagepolicy_ImageReviewContainerSpec_To_v1alpha1_ImageReviewContainerSpec

func Convert_imagepolicy_ImageReviewContainerSpec_To_v1alpha1_ImageReviewContainerSpec(in *imagepolicy.ImageReviewContainerSpec, out *ImageReviewContainerSpec, s conversion.Scope) error

Convert_imagepolicy_ImageReviewContainerSpec_To_v1alpha1_ImageReviewContainerSpec is an autogenerated conversion function.

func Convert_imagepolicy_ImageReviewSpec_To_v1alpha1_ImageReviewSpec

func Convert_imagepolicy_ImageReviewSpec_To_v1alpha1_ImageReviewSpec(in *imagepolicy.ImageReviewSpec, out *ImageReviewSpec, s conversion.Scope) error

Convert_imagepolicy_ImageReviewSpec_To_v1alpha1_ImageReviewSpec is an autogenerated conversion function.

func Convert_imagepolicy_ImageReviewStatus_To_v1alpha1_ImageReviewStatus

func Convert_imagepolicy_ImageReviewStatus_To_v1alpha1_ImageReviewStatus(in *imagepolicy.ImageReviewStatus, out *ImageReviewStatus, s conversion.Scope) error

Convert_imagepolicy_ImageReviewStatus_To_v1alpha1_ImageReviewStatus is an autogenerated conversion function.

func Convert_imagepolicy_ImageReview_To_v1alpha1_ImageReview

func Convert_imagepolicy_ImageReview_To_v1alpha1_ImageReview(in *imagepolicy.ImageReview, out *ImageReview, s conversion.Scope) error

Convert_imagepolicy_ImageReview_To_v1alpha1_ImageReview is an autogenerated conversion function.

func Convert_v1alpha1_ImageReviewContainerSpec_To_imagepolicy_ImageReviewContainerSpec

func Convert_v1alpha1_ImageReviewContainerSpec_To_imagepolicy_ImageReviewContainerSpec(in *ImageReviewContainerSpec, out *imagepolicy.ImageReviewContainerSpec, s conversion.Scope) error

Convert_v1alpha1_ImageReviewContainerSpec_To_imagepolicy_ImageReviewContainerSpec is an autogenerated conversion function.

func Convert_v1alpha1_ImageReviewSpec_To_imagepolicy_ImageReviewSpec

func Convert_v1alpha1_ImageReviewSpec_To_imagepolicy_ImageReviewSpec(in *ImageReviewSpec, out *imagepolicy.ImageReviewSpec, s conversion.Scope) error

Convert_v1alpha1_ImageReviewSpec_To_imagepolicy_ImageReviewSpec is an autogenerated conversion function.

func Convert_v1alpha1_ImageReviewStatus_To_imagepolicy_ImageReviewStatus

func Convert_v1alpha1_ImageReviewStatus_To_imagepolicy_ImageReviewStatus(in *ImageReviewStatus, out *imagepolicy.ImageReviewStatus, s conversion.Scope) error

Convert_v1alpha1_ImageReviewStatus_To_imagepolicy_ImageReviewStatus is an autogenerated conversion function.

func Convert_v1alpha1_ImageReview_To_imagepolicy_ImageReview

func Convert_v1alpha1_ImageReview_To_imagepolicy_ImageReview(in *ImageReview, out *imagepolicy.ImageReview, s conversion.Scope) error

Convert_v1alpha1_ImageReview_To_imagepolicy_ImageReview is an autogenerated conversion function.

func DeepCopy_v1alpha1_ImageReview

func DeepCopy_v1alpha1_ImageReview(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_v1alpha1_ImageReview is an autogenerated deepcopy function.

func DeepCopy_v1alpha1_ImageReviewContainerSpec

func DeepCopy_v1alpha1_ImageReviewContainerSpec(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_v1alpha1_ImageReviewContainerSpec is an autogenerated deepcopy function.

func DeepCopy_v1alpha1_ImageReviewSpec

func DeepCopy_v1alpha1_ImageReviewSpec(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_v1alpha1_ImageReviewSpec is an autogenerated deepcopy function.

func DeepCopy_v1alpha1_ImageReviewStatus

func DeepCopy_v1alpha1_ImageReviewStatus(in interface{}, out interface{}, c *conversion.Cloner) error

DeepCopy_v1alpha1_ImageReviewStatus is an autogenerated deepcopy function.

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults added in v1.6.0

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource added in v1.6.0

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ImageReview

type ImageReview struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec holds information about the pod being evaluated
	Spec ImageReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// Status is filled in by the backend and indicates whether the pod should be allowed.
	// +optional
	Status ImageReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ImageReview checks if the set of images in a pod are allowed.

func (*ImageReview) CodecDecodeSelf

func (x *ImageReview) CodecDecodeSelf(d *codec1978.Decoder)

func (*ImageReview) CodecEncodeSelf

func (x *ImageReview) CodecEncodeSelf(e *codec1978.Encoder)

func (*ImageReview) Descriptor

func (*ImageReview) Descriptor() ([]byte, []int)

func (*ImageReview) Marshal

func (m *ImageReview) Marshal() (dAtA []byte, err error)

func (*ImageReview) MarshalTo

func (m *ImageReview) MarshalTo(dAtA []byte) (int, error)

func (*ImageReview) ProtoMessage

func (*ImageReview) ProtoMessage()

func (*ImageReview) Reset

func (m *ImageReview) Reset()

func (*ImageReview) Size

func (m *ImageReview) Size() (n int)

func (*ImageReview) String

func (this *ImageReview) String() string

func (ImageReview) SwaggerDoc added in v1.4.5

func (ImageReview) SwaggerDoc() map[string]string

func (*ImageReview) Unmarshal

func (m *ImageReview) Unmarshal(dAtA []byte) error

type ImageReviewContainerSpec

type ImageReviewContainerSpec struct {
	// This can be in the form image:tag or image@SHA:012345679abcdef.
	// +optional
	Image string `json:"image,omitempty" protobuf:"bytes,1,opt,name=image"`
}

ImageReviewContainerSpec is a description of a container within the pod creation request.

func (*ImageReviewContainerSpec) CodecDecodeSelf

func (x *ImageReviewContainerSpec) CodecDecodeSelf(d *codec1978.Decoder)

func (*ImageReviewContainerSpec) CodecEncodeSelf

func (x *ImageReviewContainerSpec) CodecEncodeSelf(e *codec1978.Encoder)

func (*ImageReviewContainerSpec) Descriptor

func (*ImageReviewContainerSpec) Descriptor() ([]byte, []int)

func (*ImageReviewContainerSpec) Marshal

func (m *ImageReviewContainerSpec) Marshal() (dAtA []byte, err error)

func (*ImageReviewContainerSpec) MarshalTo

func (m *ImageReviewContainerSpec) MarshalTo(dAtA []byte) (int, error)

func (*ImageReviewContainerSpec) ProtoMessage

func (*ImageReviewContainerSpec) ProtoMessage()

func (*ImageReviewContainerSpec) Reset

func (m *ImageReviewContainerSpec) Reset()

func (*ImageReviewContainerSpec) Size

func (m *ImageReviewContainerSpec) Size() (n int)

func (*ImageReviewContainerSpec) String

func (this *ImageReviewContainerSpec) String() string

func (ImageReviewContainerSpec) SwaggerDoc added in v1.4.5

func (ImageReviewContainerSpec) SwaggerDoc() map[string]string

func (*ImageReviewContainerSpec) Unmarshal

func (m *ImageReviewContainerSpec) Unmarshal(dAtA []byte) error

type ImageReviewSpec

type ImageReviewSpec struct {
	// Containers is a list of a subset of the information in each container of the Pod being created.
	// +optional
	Containers []ImageReviewContainerSpec `json:"containers,omitempty" protobuf:"bytes,1,rep,name=containers"`
	// Annotations is a list of key-value pairs extracted from the Pod's annotations.
	// It only includes keys which match the pattern `*.image-policy.k8s.io/*`.
	// It is up to each webhook backend to determine how to interpret these annotations, if at all.
	// +optional
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,2,rep,name=annotations"`
	// Namespace is the namespace the pod is being created in.
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
}

ImageReviewSpec is a description of the pod creation request.

func (*ImageReviewSpec) CodecDecodeSelf

func (x *ImageReviewSpec) CodecDecodeSelf(d *codec1978.Decoder)

func (*ImageReviewSpec) CodecEncodeSelf

func (x *ImageReviewSpec) CodecEncodeSelf(e *codec1978.Encoder)

func (*ImageReviewSpec) Descriptor

func (*ImageReviewSpec) Descriptor() ([]byte, []int)

func (*ImageReviewSpec) Marshal

func (m *ImageReviewSpec) Marshal() (dAtA []byte, err error)

func (*ImageReviewSpec) MarshalTo

func (m *ImageReviewSpec) MarshalTo(dAtA []byte) (int, error)

func (*ImageReviewSpec) ProtoMessage

func (*ImageReviewSpec) ProtoMessage()

func (*ImageReviewSpec) Reset

func (m *ImageReviewSpec) Reset()

func (*ImageReviewSpec) Size

func (m *ImageReviewSpec) Size() (n int)

func (*ImageReviewSpec) String

func (this *ImageReviewSpec) String() string

func (ImageReviewSpec) SwaggerDoc added in v1.4.5

func (ImageReviewSpec) SwaggerDoc() map[string]string

func (*ImageReviewSpec) Unmarshal

func (m *ImageReviewSpec) Unmarshal(dAtA []byte) error

type ImageReviewStatus

type ImageReviewStatus struct {
	// Allowed indicates that all images were allowed to be run.
	Allowed bool `json:"allowed" protobuf:"varint,1,opt,name=allowed"`
	// Reason should be empty unless Allowed is false in which case it
	// may contain a short description of what is wrong.  Kubernetes
	// may truncate excessively long errors when displaying to the user.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`
}

ImageReviewStatus is the result of the token authentication request.

func (*ImageReviewStatus) CodecDecodeSelf

func (x *ImageReviewStatus) CodecDecodeSelf(d *codec1978.Decoder)

func (*ImageReviewStatus) CodecEncodeSelf

func (x *ImageReviewStatus) CodecEncodeSelf(e *codec1978.Encoder)

func (*ImageReviewStatus) Descriptor

func (*ImageReviewStatus) Descriptor() ([]byte, []int)

func (*ImageReviewStatus) Marshal

func (m *ImageReviewStatus) Marshal() (dAtA []byte, err error)

func (*ImageReviewStatus) MarshalTo

func (m *ImageReviewStatus) MarshalTo(dAtA []byte) (int, error)

func (*ImageReviewStatus) ProtoMessage

func (*ImageReviewStatus) ProtoMessage()

func (*ImageReviewStatus) Reset

func (m *ImageReviewStatus) Reset()

func (*ImageReviewStatus) Size

func (m *ImageReviewStatus) Size() (n int)

func (*ImageReviewStatus) String

func (this *ImageReviewStatus) String() string

func (ImageReviewStatus) SwaggerDoc added in v1.4.5

func (ImageReviewStatus) SwaggerDoc() map[string]string

func (*ImageReviewStatus) Unmarshal

func (m *ImageReviewStatus) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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