v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the policy v1alpha1 API group +kubebuilder:object:generate=true +groupName=policy.giantswarm.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "policy.giantswarm.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type PolicyExceptionDraft

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

	Spec gsPolicy.PolicyExceptionSpec `json:"spec,omitempty"`
}

PolicyExceptionDraft is the Schema for the policyexceptiondrafts API

func (*PolicyExceptionDraft) DeepCopy

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

func (*PolicyExceptionDraft) DeepCopyInto

func (in *PolicyExceptionDraft) DeepCopyInto(out *PolicyExceptionDraft)

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

func (*PolicyExceptionDraft) DeepCopyObject

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

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

type PolicyExceptionDraftList

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

PolicyExceptionDraftList contains a list of PolicyExceptionDraft

func (*PolicyExceptionDraftList) DeepCopy

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

func (*PolicyExceptionDraftList) DeepCopyInto

func (in *PolicyExceptionDraftList) DeepCopyInto(out *PolicyExceptionDraftList)

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

func (*PolicyExceptionDraftList) DeepCopyObject

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

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

type Target

type Target struct {
	Namespaces []string `json:"namespaces"`
	Names      []string `json:"names"`
	Kind       string   `json:"kind"`
}

Target defines a resource to which a PolicyException applies

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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