v1alpha2

package
v2.0.0-...-7a28777 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the deploy.razee.io v1alpha2 API group +kubebuilder:object:generate=true +groupName=deploy.razee.io

Index

Constants

This section is empty.

Variables

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

	// 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

	SchemeGroupVersion = GroupVersion
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type APIKeyRef

type APIKeyRef struct {
	// ValueFrom is the pointer to the secret key ref
	// +kubebuilder:validation:Required
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

APIKeyRef holds the location of the api key used to authenticate to a cloud object storage instance

func (*APIKeyRef) DeepCopy

func (in *APIKeyRef) DeepCopy() *APIKeyRef

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

func (*APIKeyRef) DeepCopyInto

func (in *APIKeyRef) DeepCopyInto(out *APIKeyRef)

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

type AccesKeyIDRef

type AccesKeyIDRef struct {
	// ValueFrom is the pointer to the secret key ref
	// +kubebuilder:validation:Required
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

AccesKeyIDRef holds reference information to an AccessKeyID stored in a secret on your cluster

func (*AccesKeyIDRef) DeepCopy

func (in *AccesKeyIDRef) DeepCopy() *AccesKeyIDRef

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

func (*AccesKeyIDRef) DeepCopyInto

func (in *AccesKeyIDRef) DeepCopyInto(out *AccesKeyIDRef)

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

type BackendService

type BackendService string

+kubebuilder:validation:Enum=generic;s3;git

type ClusterAuth

type ClusterAuth struct {
	ImpersonateUser string `json:"impersonateUser,omitempty"`
}

func (*ClusterAuth) DeepCopy

func (in *ClusterAuth) DeepCopy() *ClusterAuth

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

func (*ClusterAuth) DeepCopyInto

func (in *ClusterAuth) DeepCopyInto(out *ClusterAuth)

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

type ConfigMapRef

type ConfigMapRef struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*ConfigMapRef) DeepCopy

func (in *ConfigMapRef) DeepCopy() *ConfigMapRef

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

func (*ConfigMapRef) DeepCopyInto

func (in *ConfigMapRef) DeepCopyInto(out *ConfigMapRef)

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

type GenericMapRef

type GenericMapRef struct {
	APIVersion string `json:"apiVersion,omitempty"`
	Kind       string `json:"kind,omitempty"`
	Name       string `json:"name,omitempty"`
	Namespace  string `json:"namespace,omitempty"`
}

func (*GenericMapRef) DeepCopy

func (in *GenericMapRef) DeepCopy() *GenericMapRef

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

func (*GenericMapRef) DeepCopyInto

func (in *GenericMapRef) DeepCopyInto(out *GenericMapRef)

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

type Git

type Git struct {
	Provider Provider `json:"provider,omitempty"`
	Repo     string   `json:"repo,omitempty"`
	Ref      string   `json:"ref,omitempty"`
	FilePath string   `json:"filePath,omitempty"`
	Release  string   `json:"release,omitempty"`
}

func (*Git) DeepCopy

func (in *Git) DeepCopy() *Git

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

func (*Git) DeepCopyInto

func (in *Git) DeepCopyInto(out *Git)

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

type Header map[string]string

Header allows you to provide additional information with your reques

func (Header) DeepCopy

func (in Header) DeepCopy() Header

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

func (Header) DeepCopyInto

func (in Header) DeepCopyInto(out *Header)

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

type Headers

type Headers struct {
	Headers map[string]Header `json:"headers,omitempty"`
}

func (*Headers) DeepCopy

func (in *Headers) DeepCopy() *Headers

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

func (*Headers) DeepCopyInto

func (in *Headers) DeepCopyInto(out *Headers)

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

type HeadersFrom

type HeadersFrom struct {
	ConfigMapRef  ConfigMapRef  `json:"configMapRef,omitempty"`
	SecretMapRef  SecretMapRef  `json:"secretKeyRef,omitempty"`
	GenericMapRef GenericMapRef `json:"genericMapRef,omitempty"`
}

func (*HeadersFrom) DeepCopy

func (in *HeadersFrom) DeepCopy() *HeadersFrom

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

func (*HeadersFrom) DeepCopyInto

func (in *HeadersFrom) DeepCopyInto(out *HeadersFrom)

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

type Provider

type Provider string

+kubebuilder:validation:Enum=github;gitlab

type RemoteResource

type RemoteResource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RemoteResourceSpec   `json:"spec,omitempty"`
	Status            RemoteResourceStatus `json:"status,omitempty"`
}

RemoteResource is the Schema for the remoteresources API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=remoteresources,scope=Namespaced +k8s:openapi-gen=true

func (*RemoteResource) DeepCopy

func (in *RemoteResource) DeepCopy() *RemoteResource

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

func (*RemoteResource) DeepCopyInto

func (in *RemoteResource) DeepCopyInto(out *RemoteResource)

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

func (*RemoteResource) DeepCopyObject

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

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

type RemoteResourceAPIKeyRef

type RemoteResourceAPIKeyRef struct {
	// +kubebuilder:validation:Required
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

func (*RemoteResourceAPIKeyRef) DeepCopy

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

func (*RemoteResourceAPIKeyRef) DeepCopyInto

func (in *RemoteResourceAPIKeyRef) DeepCopyInto(out *RemoteResourceAPIKeyRef)

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

type RemoteResourceAccesKeyIDRef

type RemoteResourceAccesKeyIDRef struct {
	// +kubebuilder:validation:Required
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

func (*RemoteResourceAccesKeyIDRef) DeepCopy

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

func (*RemoteResourceAccesKeyIDRef) DeepCopyInto

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

type RemoteResourceAuth

type RemoteResourceAuth struct {
	Hmac *RemoteResourceHmac `json:"hmac,omitempty"`
	Iam  *RemoteResourceIam  `json:"iam,omitempty"`
}

func (*RemoteResourceAuth) DeepCopy

func (in *RemoteResourceAuth) DeepCopy() *RemoteResourceAuth

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

func (*RemoteResourceAuth) DeepCopyInto

func (in *RemoteResourceAuth) DeepCopyInto(out *RemoteResourceAuth)

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

type RemoteResourceHmac

type RemoteResourceHmac struct {
	// +optional
	AccessKeyID string `json:"accessKeyId,omitempty"`
	// +optional
	AccesKeyIDRef AccesKeyIDRef `json:"accessKeyIdRef,omitempty"`
	// +optional
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
	// +optional
	SecretAccessKeyRef SecretAccessKeyRef `json:"secretAccessKeyRef,omitempty"`
}

func (*RemoteResourceHmac) DeepCopy

func (in *RemoteResourceHmac) DeepCopy() *RemoteResourceHmac

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

func (*RemoteResourceHmac) DeepCopyInto

func (in *RemoteResourceHmac) DeepCopyInto(out *RemoteResourceHmac)

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

type RemoteResourceIam

type RemoteResourceIam struct {
	GrantType string `json:"grantType,omitempty"`
	URL       string `json:"url,omitempty"`
	// +optional
	APIKey string `json:"apiKey,omitempty"`
	// +optional
	APIKeyRef APIKeyRef `json:"apiKeyRef,omitempty"`
}

func (*RemoteResourceIam) DeepCopy

func (in *RemoteResourceIam) DeepCopy() *RemoteResourceIam

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

func (*RemoteResourceIam) DeepCopyInto

func (in *RemoteResourceIam) DeepCopyInto(out *RemoteResourceIam)

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

type RemoteResourceList

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

RemoteResourceList contains a list of RemoteResources

func (*RemoteResourceList) DeepCopy

func (in *RemoteResourceList) DeepCopy() *RemoteResourceList

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

func (*RemoteResourceList) DeepCopyInto

func (in *RemoteResourceList) DeepCopyInto(out *RemoteResourceList)

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

func (*RemoteResourceList) DeepCopyObject

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

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

type RemoteResourceRequest

type RemoteResourceRequest struct {
	URL         string      `json:"url,omitempty"`
	URI         string      `json:"uri,omitempty"`
	Git         Git         `json:"git,omitempty"`
	Headers     Headers     `json:"headers,omitempty"`
	HeadersFrom HeadersFrom `json:"headersFrom,omitempty"`
}

func (*RemoteResourceRequest) DeepCopy

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

func (*RemoteResourceRequest) DeepCopyInto

func (in *RemoteResourceRequest) DeepCopyInto(out *RemoteResourceRequest)

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

type RemoteResourceSecretAccessKeyRef

type RemoteResourceSecretAccessKeyRef struct {
	// +kubebuilder:validation:Required
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

func (*RemoteResourceSecretAccessKeyRef) DeepCopy

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

func (*RemoteResourceSecretAccessKeyRef) DeepCopyInto

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

type RemoteResourceSpec

type RemoteResourceSpec struct {
	Auth           RemoteResourceAuth `json:"auth,omitempty"`
	ClusterAuth    ClusterAuth        `json:"clusterAuth,omitempty"`
	BackendService BackendService     `json:"backendService,omitempty"`
	Requests       []Request          `json:"requests,omitempty"`
}

RemoteResourceSpec defines the desired state of RemoteResource +kubebuilder:pruning:PreserveUnknownFields +k8s:openapi-gen=true

func (*RemoteResourceSpec) DeepCopy

func (in *RemoteResourceSpec) DeepCopy() *RemoteResourceSpec

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

func (*RemoteResourceSpec) DeepCopyInto

func (in *RemoteResourceSpec) DeepCopyInto(out *RemoteResourceSpec)

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

type RemoteResourceStatus

type RemoteResourceStatus struct {
}

RemoteResourceStatus defines the observed state of RemoteResource +k8s:openapi-gen=true

func (*RemoteResourceStatus) DeepCopy

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

func (*RemoteResourceStatus) DeepCopyInto

func (in *RemoteResourceStatus) DeepCopyInto(out *RemoteResourceStatus)

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

type RemoteResourceValueFrom

type RemoteResourceValueFrom struct {
	// +kubebuilder:validation:Required
	SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}

func (*RemoteResourceValueFrom) DeepCopy

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

func (*RemoteResourceValueFrom) DeepCopyInto

func (in *RemoteResourceValueFrom) DeepCopyInto(out *RemoteResourceValueFrom)

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

type Request

type Request struct {
	// Options is the configurable options for the request
	// +kubebuilder:validation:Required
	Options S3Options `json:"options,omitempty"`
	// Optional if downloading or applying a child resource fails, RemoteResource will stop execution and report error to .status. You can allow execution to continue by marking a reference as optional.
	// +optional
	Optional bool `json:"optional,omitempty"`
	// Status of the request
	// +optional
	StatusCode int `json:"statusCode,omitempty"`
	// Message of the request
	// +optional
	Message string `json:"message,omitempty"`
}

Request holds requests that populate the Requests array

func (*Request) DeepCopy

func (in *Request) DeepCopy() *Request

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

func (*Request) DeepCopyInto

func (in *Request) DeepCopyInto(out *Request)

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

type S3Options

type S3Options struct {
	// URL of the request
	// +optional
	URL string `json:"url,omitempty"`
	// URI of the request
	// +optional
	URI string `json:"uri,omitempty"`
	// Headers of the request
	// +optional
	Headers map[string]Header `json:"headers,omitempty"`
}

Options holds the options object which will be passed as-is to the http request. Allows you to specify things like headers for authentication.

func (*S3Options) DeepCopy

func (in *S3Options) DeepCopy() *S3Options

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

func (*S3Options) DeepCopyInto

func (in *S3Options) DeepCopyInto(out *S3Options)

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

type SecretAccessKeyRef

type SecretAccessKeyRef struct {
	// ValueFrom is the pointer to the secret key ref
	// +kubebuilder:validation:Required
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

SecretAccessKeyRef holds reference information to an SecretAccessKey stored in a secret on your cluster

func (*SecretAccessKeyRef) DeepCopy

func (in *SecretAccessKeyRef) DeepCopy() *SecretAccessKeyRef

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

func (*SecretAccessKeyRef) DeepCopyInto

func (in *SecretAccessKeyRef) DeepCopyInto(out *SecretAccessKeyRef)

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

type SecretMapRef

type SecretMapRef struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*SecretMapRef) DeepCopy

func (in *SecretMapRef) DeepCopy() *SecretMapRef

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

func (*SecretMapRef) DeepCopyInto

func (in *SecretMapRef) DeepCopyInto(out *SecretMapRef)

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

type URL

type URL struct {
	Format string `json:"format,omitempty"`
}

func (*URL) DeepCopy

func (in *URL) DeepCopy() *URL

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

func (*URL) DeepCopyInto

func (in *URL) DeepCopyInto(out *URL)

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

type ValueFrom

type ValueFrom struct {
	// SecretKeyRef is the pointer to the secret key ref
	// +kubebuilder:validation:Required
	SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}

ValueFrom holds source for the environment variable's value. Cannot be used if value is not empty.

func (*ValueFrom) DeepCopy

func (in *ValueFrom) DeepCopy() *ValueFrom

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

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

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