v1alpha1

package
v0.0.0-...-6b55861 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the externaldata v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/open-policy-agent/frameworks/constraint/pkg/apis/externaldata/unversioned +k8s:defaulter-gen=TypeMeta +groupName=externaldata.gatekeeper.sh

Package v1alpha1 contains API Schema definitions for the externaldata v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/open-policy-agent/frameworks/constraint/pkg/apis/externaldata +k8s:defaulter-gen=TypeMeta +groupName=externaldata.gatekeeper.sh

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "externaldata.gatekeeper.sh", Version: "v1alpha1"}

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

	AddToScheme = localSchemeBuilder.AddToScheme
)

Functions

func Convert_unversioned_ProviderList_To_v1alpha1_ProviderList

func Convert_unversioned_ProviderList_To_v1alpha1_ProviderList(in *unversioned.ProviderList, out *ProviderList, s conversion.Scope) error

Convert_unversioned_ProviderList_To_v1alpha1_ProviderList is an autogenerated conversion function.

func Convert_unversioned_ProviderSpec_To_v1alpha1_ProviderSpec

func Convert_unversioned_ProviderSpec_To_v1alpha1_ProviderSpec(in *unversioned.ProviderSpec, out *ProviderSpec, s conversion.Scope) error

Convert_unversioned_ProviderSpec_To_v1alpha1_ProviderSpec is an autogenerated conversion function.

func Convert_unversioned_Provider_To_v1alpha1_Provider

func Convert_unversioned_Provider_To_v1alpha1_Provider(in *unversioned.Provider, out *Provider, s conversion.Scope) error

Convert_unversioned_Provider_To_v1alpha1_Provider is an autogenerated conversion function.

func Convert_v1alpha1_ProviderList_To_unversioned_ProviderList

func Convert_v1alpha1_ProviderList_To_unversioned_ProviderList(in *ProviderList, out *unversioned.ProviderList, s conversion.Scope) error

Convert_v1alpha1_ProviderList_To_unversioned_ProviderList is an autogenerated conversion function.

func Convert_v1alpha1_ProviderSpec_To_unversioned_ProviderSpec

func Convert_v1alpha1_ProviderSpec_To_unversioned_ProviderSpec(in *ProviderSpec, out *unversioned.ProviderSpec, s conversion.Scope) error

Convert_v1alpha1_ProviderSpec_To_unversioned_ProviderSpec is an autogenerated conversion function.

func Convert_v1alpha1_Provider_To_unversioned_Provider

func Convert_v1alpha1_Provider_To_unversioned_Provider(in *Provider, out *unversioned.Provider, s conversion.Scope) error

Convert_v1alpha1_Provider_To_unversioned_Provider is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

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

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type Provider

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

	// Spec defines the Provider specifications.
	Spec ProviderSpec `json:"spec,omitempty"`
}

Provider is the Schema for the Provider API +k8s:openapi-gen=true +k8s:conversion-gen-external-types=github.com/open-policy-agent/frameworks/constraint/pkg/apis/externaldata

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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

func (*Provider) DeepCopyObject

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

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

type ProviderList

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

	// Items contains the list of Providers.
	Items []Provider `json:"items"`
}

ProviderList contains a list of Provider.

func (*ProviderList) DeepCopy

func (in *ProviderList) DeepCopy() *ProviderList

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

func (*ProviderList) DeepCopyInto

func (in *ProviderList) DeepCopyInto(out *ProviderList)

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

func (*ProviderList) DeepCopyObject

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

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

type ProviderSpec

type ProviderSpec struct {
	// URL is the url for the provider. URL is prefixed with https://.
	URL string `json:"url,omitempty"`
	// Timeout is the timeout when querying the provider.
	Timeout int `json:"timeout,omitempty"`
	// CABundle is a base64-encoded string that contains the TLS CA bundle in PEM format.
	// It is used to verify the signature of the provider's certificate.
	CABundle string `json:"caBundle,omitempty"`
}

ProviderSpec defines the desired state of Provider.

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

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

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

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