Documentation
¶
Overview ¶
+groupName=codecommit.aws.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Repository
- func (in *Repository) DeepCopy() *Repository
- func (in *Repository) DeepCopyInto(out *Repository)
- func (in *Repository) DeepCopyObject() runtime.Object
- func (r *Repository) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Repository) ValidateCreate() error
- func (r *Repository) ValidateDelete() error
- func (r *Repository) ValidateUpdate(old runtime.Object) error
- type RepositoryList
- type RepositorySpec
- type RepositorySpecResource
- type RepositoryStatus
- type Trigger
- func (in *Trigger) DeepCopy() *Trigger
- func (in *Trigger) DeepCopyInto(out *Trigger)
- func (in *Trigger) DeepCopyObject() runtime.Object
- func (r *Trigger) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Trigger) ValidateCreate() error
- func (r *Trigger) ValidateDelete() error
- func (r *Trigger) ValidateUpdate(old runtime.Object) error
- type TriggerList
- type TriggerSpec
- type TriggerSpecResource
- type TriggerSpecTrigger
- type TriggerStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: codecommit.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Repository ¶
type Repository struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RepositorySpec `json:"spec,omitempty"` Status RepositoryStatus `json:"status,omitempty"` }
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repository) DeepCopyObject ¶
func (in *Repository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Repository) SetupWebhookWithManager ¶
func (r *Repository) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Repository) ValidateCreate ¶
func (r *Repository) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Repository) ValidateDelete ¶
func (r *Repository) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Repository) ValidateUpdate ¶
func (r *Repository) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Repository CRD objects Items []Repository `json:"items,omitempty"` }
RepositoryList is a list of Repositorys
func (*RepositoryList) DeepCopy ¶
func (in *RepositoryList) DeepCopy() *RepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.
func (*RepositoryList) DeepCopyInto ¶
func (in *RepositoryList) DeepCopyInto(out *RepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryList) DeepCopyObject ¶
func (in *RepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepositorySpec ¶
type RepositorySpec struct { KubeformOutput *RepositorySpecResource `json:"kubeformOutput,omitempty" tf:"-"` Resource RepositorySpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*RepositorySpec) DeepCopy ¶
func (in *RepositorySpec) DeepCopy() *RepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.
func (*RepositorySpec) DeepCopyInto ¶
func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositorySpecResource ¶
type RepositorySpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Arn *string `json:"arn,omitempty" tf:"arn"` // +optional CloneURLHTTP *string `json:"cloneURLHTTP,omitempty" tf:"clone_url_http"` // +optional CloneURLSSH *string `json:"cloneURLSSH,omitempty" tf:"clone_url_ssh"` // +optional DefaultBranch *string `json:"defaultBranch,omitempty" tf:"default_branch"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional RepositoryID *string `json:"repositoryID,omitempty" tf:"repository_id"` RepositoryName *string `json:"repositoryName" tf:"repository_name"` // +optional Tags *map[string]string `json:"tags,omitempty" tf:"tags"` // +optional TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"` }
func (*RepositorySpecResource) DeepCopy ¶
func (in *RepositorySpecResource) DeepCopy() *RepositorySpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpecResource.
func (*RepositorySpecResource) DeepCopyInto ¶
func (in *RepositorySpecResource) DeepCopyInto(out *RepositorySpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryStatus ¶
type RepositoryStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*RepositoryStatus) DeepCopy ¶
func (in *RepositoryStatus) DeepCopy() *RepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus.
func (*RepositoryStatus) DeepCopyInto ¶
func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trigger ¶
type Trigger struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TriggerSpec `json:"spec,omitempty"` Status TriggerStatus `json:"status,omitempty"` }
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trigger) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Trigger) SetupWebhookWithManager ¶
func (*Trigger) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Trigger) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TriggerList ¶
type TriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Trigger CRD objects Items []Trigger `json:"items,omitempty"` }
TriggerList is a list of Triggers
func (*TriggerList) DeepCopy ¶
func (in *TriggerList) DeepCopy() *TriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerList.
func (*TriggerList) DeepCopyInto ¶
func (in *TriggerList) DeepCopyInto(out *TriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerList) DeepCopyObject ¶
func (in *TriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TriggerSpec ¶
type TriggerSpec struct { KubeformOutput *TriggerSpecResource `json:"kubeformOutput,omitempty" tf:"-"` Resource TriggerSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*TriggerSpec) DeepCopy ¶
func (in *TriggerSpec) DeepCopy() *TriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpec.
func (*TriggerSpec) DeepCopyInto ¶
func (in *TriggerSpec) DeepCopyInto(out *TriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerSpecResource ¶
type TriggerSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional ConfigurationID *string `json:"configurationID,omitempty" tf:"configuration_id"` RepositoryName *string `json:"repositoryName" tf:"repository_name"` // +kubebuilder:validation:MaxItems=10 Trigger []TriggerSpecTrigger `json:"trigger" tf:"trigger"` }
func (*TriggerSpecResource) DeepCopy ¶
func (in *TriggerSpecResource) DeepCopy() *TriggerSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpecResource.
func (*TriggerSpecResource) DeepCopyInto ¶
func (in *TriggerSpecResource) DeepCopyInto(out *TriggerSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerSpecTrigger ¶
type TriggerSpecTrigger struct { // +optional Branches []string `json:"branches,omitempty" tf:"branches"` // +optional CustomData *string `json:"customData,omitempty" tf:"custom_data"` DestinationArn *string `json:"destinationArn" tf:"destination_arn"` Events []string `json:"events" tf:"events"` Name *string `json:"name" tf:"name"` }
func (*TriggerSpecTrigger) DeepCopy ¶
func (in *TriggerSpecTrigger) DeepCopy() *TriggerSpecTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpecTrigger.
func (*TriggerSpecTrigger) DeepCopyInto ¶
func (in *TriggerSpecTrigger) DeepCopyInto(out *TriggerSpecTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerStatus ¶
type TriggerStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*TriggerStatus) DeepCopy ¶
func (in *TriggerStatus) DeepCopy() *TriggerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerStatus.
func (*TriggerStatus) DeepCopyInto ¶
func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.