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 ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type APIKeyRef
- type AccesKeyIDRef
- type BackendService
- type ClusterAuth
- type ConfigMapRef
- type GenericMapRef
- type Git
- type Header
- type Headers
- type HeadersFrom
- type Provider
- type RemoteResource
- type RemoteResourceAPIKeyRef
- type RemoteResourceAccesKeyIDRef
- type RemoteResourceAuth
- type RemoteResourceHmac
- type RemoteResourceIam
- type RemoteResourceList
- type RemoteResourceRequest
- type RemoteResourceSecretAccessKeyRef
- type RemoteResourceSpec
- type RemoteResourceStatus
- type RemoteResourceValueFrom
- type Request
- type S3Options
- type SecretAccessKeyRef
- type SecretMapRef
- type URL
- type ValueFrom
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyRef.
func (*APIKeyRef) DeepCopyInto ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git.
func (*Git) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Header ¶
Header allows you to provide additional information with your reques
func (Header) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Header.
func (Header) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Headers ¶
func (*Headers) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Headers.
func (*Headers) DeepCopyInto ¶
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 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 ¶
func (in *RemoteResourceAPIKeyRef) DeepCopy() *RemoteResourceAPIKeyRef
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 ¶
func (in *RemoteResourceAccesKeyIDRef) DeepCopy() *RemoteResourceAccesKeyIDRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteResourceAccesKeyIDRef.
func (*RemoteResourceAccesKeyIDRef) DeepCopyInto ¶
func (in *RemoteResourceAccesKeyIDRef) DeepCopyInto(out *RemoteResourceAccesKeyIDRef)
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 ¶
func (in *RemoteResourceRequest) DeepCopy() *RemoteResourceRequest
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 ¶
func (in *RemoteResourceSecretAccessKeyRef) DeepCopy() *RemoteResourceSecretAccessKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteResourceSecretAccessKeyRef.
func (*RemoteResourceSecretAccessKeyRef) DeepCopyInto ¶
func (in *RemoteResourceSecretAccessKeyRef) DeepCopyInto(out *RemoteResourceSecretAccessKeyRef)
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 ¶
func (in *RemoteResourceStatus) DeepCopy() *RemoteResourceStatus
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 ¶
func (in *RemoteResourceValueFrom) DeepCopy() *RemoteResourceValueFrom
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Request.
func (*Request) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Options.
func (*S3Options) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URL.
func (*URL) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.
func (*ValueFrom) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.