Documentation ¶
Overview ¶
Package v1alpha1 contains managed resources for Git services such as Repo. +kubebuilder:object:generate=true +groupName=toolbox.krateo.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type HttpRequest
- func (in *HttpRequest) DeepCopy() *HttpRequest
- func (in *HttpRequest) DeepCopyInto(out *HttpRequest)
- func (in *HttpRequest) DeepCopyObject() runtime.Object
- func (mg *HttpRequest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *HttpRequest) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *HttpRequest) GetProviderConfigReference() *xpv1.Reference
- func (mg *HttpRequest) GetProviderReference() *xpv1.Reference
- func (mg *HttpRequest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *HttpRequest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *HttpRequest) SetConditions(c ...xpv1.Condition)
- func (mg *HttpRequest) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *HttpRequest) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *HttpRequest) SetProviderReference(r *xpv1.Reference)
- func (mg *HttpRequest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *HttpRequest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type HttpRequestList
- type HttpRequestObservation
- type HttpRequestParams
- type HttpRequestSpec
- type HttpRequestStatus
- type NamedValue
- type ValueSelector
Constants ¶
const ( Group = "toolbox.krateo.io" Version = "v1alpha1" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( HttpRequestKind = reflect.TypeOf(HttpRequest{}).Name() HttpRequestGroupKind = schema.GroupKind{Group: Group, Kind: HttpRequestKind}.String() HttpRequestKindAPIVersion = HttpRequestKind + "." + SchemeGroupVersion.String() HttpRequestGroupVersionKind = SchemeGroupVersion.WithKind(HttpRequestKind) )
Functions ¶
This section is empty.
Types ¶
type HttpRequest ¶
type HttpRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HttpRequestSpec `json:"spec"` Status HttpRequestStatus `json:"status,omitempty"` }
A HttpRequest is a managed resource that represents an HTTP GET request +kubebuilder:printcolumn:name="TARGET",type="string",JSONPath=".status.atProvider.target" +kubebuilder:printcolumn:name="NAME",type="string",JSONPath=".status.atProvider.name" +kubebuilder:printcolumn:name="NAMESPACE",type="string",JSONPath=".status.atProvider.namespace" +kubebuilder:printcolumn:name="KEY",type="string",JSONPath=".status.atProvider.key" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status",priority=1 +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status",priority=1 +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,krateo,http}
func (*HttpRequest) DeepCopy ¶
func (in *HttpRequest) DeepCopy() *HttpRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpRequest.
func (*HttpRequest) DeepCopyInto ¶
func (in *HttpRequest) DeepCopyInto(out *HttpRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HttpRequest) DeepCopyObject ¶
func (in *HttpRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HttpRequest) GetCondition ¶
func (mg *HttpRequest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this HttpRequest.
func (*HttpRequest) GetDeletionPolicy ¶
func (mg *HttpRequest) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this HttpRequest.
func (*HttpRequest) GetProviderConfigReference ¶
func (mg *HttpRequest) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this HttpRequest.
func (*HttpRequest) GetProviderReference ¶
func (mg *HttpRequest) GetProviderReference() *xpv1.Reference
GetProviderReference of this HttpRequest. Deprecated: Use GetProviderConfigReference.
func (*HttpRequest) GetPublishConnectionDetailsTo ¶
func (mg *HttpRequest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this HttpRequest.
func (*HttpRequest) GetWriteConnectionSecretToReference ¶
func (mg *HttpRequest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this HttpRequest.
func (*HttpRequest) SetConditions ¶
func (mg *HttpRequest) SetConditions(c ...xpv1.Condition)
SetConditions of this HttpRequest.
func (*HttpRequest) SetDeletionPolicy ¶
func (mg *HttpRequest) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this HttpRequest.
func (*HttpRequest) SetProviderConfigReference ¶
func (mg *HttpRequest) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this HttpRequest.
func (*HttpRequest) SetProviderReference ¶
func (mg *HttpRequest) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this HttpRequest. Deprecated: Use SetProviderConfigReference.
func (*HttpRequest) SetPublishConnectionDetailsTo ¶
func (mg *HttpRequest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this HttpRequest.
func (*HttpRequest) SetWriteConnectionSecretToReference ¶
func (mg *HttpRequest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this HttpRequest.
type HttpRequestList ¶
type HttpRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HttpRequest `json:"items"` }
HttpRequestList contains a list of HttpRequest.
func (*HttpRequestList) DeepCopy ¶
func (in *HttpRequestList) DeepCopy() *HttpRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpRequestList.
func (*HttpRequestList) DeepCopyInto ¶
func (in *HttpRequestList) DeepCopyInto(out *HttpRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HttpRequestList) DeepCopyObject ¶
func (in *HttpRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HttpRequestList) GetItems ¶
func (l *HttpRequestList) GetItems() []resource.Managed
GetItems of this HttpRequestList.
type HttpRequestObservation ¶
type HttpRequestObservation struct { // Target: http response content destination (CONFIGMAP, SECRET). Target *string `json:"target,omitempty"` // Name: name of target configmap or secret. Name *string `json:"name,omitempty"` // Namespace: name of target configmap or secret. Namespace *string `json:"namespace,omitempty"` // Key: name of target configmap key. Key *string `json:"key,omitempty"` }
func (*HttpRequestObservation) DeepCopy ¶
func (in *HttpRequestObservation) DeepCopy() *HttpRequestObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpRequestObservation.
func (*HttpRequestObservation) DeepCopyInto ¶
func (in *HttpRequestObservation) DeepCopyInto(out *HttpRequestObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpRequestParams ¶
type HttpRequestParams struct { // URL: the base url. // +immutable URL string `json:"url"` // Method: the request method. Method *string `json:"method,omitempty"` // Params: query string http request parameters. // +optional Params []NamedValue `json:"params,omitempty"` // Headers: http request headers. // +optional Headers []NamedValue `json:"headers,omitempty"` // WriteResponseToConfigMap: configMap to sink the http response. WriteResponseToConfigMap ValueSelector `json:"writeResponseToConfigMap"` }
func (*HttpRequestParams) DeepCopy ¶
func (in *HttpRequestParams) DeepCopy() *HttpRequestParams
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpRequestParams.
func (*HttpRequestParams) DeepCopyInto ¶
func (in *HttpRequestParams) DeepCopyInto(out *HttpRequestParams)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpRequestSpec ¶
type HttpRequestSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider HttpRequestParams `json:"forProvider"` }
A HttpRequestSpec defines the desired state of a GetRequest.
func (*HttpRequestSpec) DeepCopy ¶
func (in *HttpRequestSpec) DeepCopy() *HttpRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpRequestSpec.
func (*HttpRequestSpec) DeepCopyInto ¶
func (in *HttpRequestSpec) DeepCopyInto(out *HttpRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpRequestStatus ¶
type HttpRequestStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider HttpRequestObservation `json:"atProvider,omitempty"` }
A HttpRequestStatus represents the observed state of a GetRequest.
func (*HttpRequestStatus) DeepCopy ¶
func (in *HttpRequestStatus) DeepCopy() *HttpRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpRequestStatus.
func (*HttpRequestStatus) DeepCopyInto ¶
func (in *HttpRequestStatus) DeepCopyInto(out *HttpRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamedValue ¶
type NamedValue struct { // Name: the name. Name string `json:"name"` // SecretRef: reference to a secret holding the value. // +optional SecretRef *ValueSelector `json:"secretRef,omitempty"` // ConfigMapRef: reference to a configMap holding the value. // +optional ConfigMapRef *ValueSelector `json:"configMapRef,omitempty"` // Value: the value. // +optional Value *string `json:"value,omitempty"` // Format: the value format. // +optional Format *string `json:"fmt,omitempty"` }
func (*NamedValue) DeepCopy ¶
func (in *NamedValue) DeepCopy() *NamedValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedValue.
func (*NamedValue) DeepCopyInto ¶
func (in *NamedValue) DeepCopyInto(out *NamedValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValueSelector ¶
type ValueSelector struct { // Name of the secret. Name string `json:"name"` // Namespace of the secret. Namespace string `json:"namespace"` // The key to select. Key string `json:"key"` }
A ValueSelector is a selector for a configMap or a secret in an arbitrary namespace.
func (*ValueSelector) DeepCopy ¶
func (in *ValueSelector) DeepCopy() *ValueSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueSelector.
func (*ValueSelector) DeepCopyInto ¶
func (in *ValueSelector) DeepCopyInto(out *ValueSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.