Documentation ¶
Index ¶
- Constants
- Variables
- type Binding
- type BindingList
- type BindingPhase
- type BindingSpec
- type BindingStatus
- func (bs *BindingStatus) DeepCopy() *BindingStatus
- func (bs *BindingStatus) DeepCopyInto(out *BindingStatus)
- func (bs *BindingStatus) Failed() error
- func (bs *BindingStatus) Init() error
- func (bs *BindingStatus) IsEmpty() bool
- func (bs *BindingStatus) IsFailed() bool
- func (bs *BindingStatus) IsPending() bool
- func (bs *BindingStatus) Pending() error
- func (bs *BindingStatus) Ready() error
- type Kind
- type Resource
- type Source
- type SourceKind
- type Target
- type TargetKind
- type TargetKindList
- type TargetKindPhase
- type TargetKindSpec
- type TargetKindStatus
- func (in *TargetKindStatus) DeepCopy() *TargetKindStatus
- func (in *TargetKindStatus) DeepCopyInto(out *TargetKindStatus)
- func (tks *TargetKindStatus) Failed() error
- func (tks *TargetKindStatus) IsEmpty() bool
- func (tks *TargetKindStatus) IsFailed() bool
- func (tks *TargetKindStatus) IsRegistered() bool
- func (tks *TargetKindStatus) Registered() error
Constants ¶
const ( BindingLabelKey = "bindings.kyma.project.io" BindingValidatedLabelKey = "validation.bindings.kyma.project.io" )
const ( BindingReady = "Ready" BindingPending = "Pending" BindingFailed = "Failed" )
const ( SourceKindSecret = "secret" SourceKindConfigMap = "config-map" )
const ( TargetKindRegistered = "Registered" TargetKindFailed = "Failed" )
const (
BindingFinalizer string = "kyma-project-io/bindings"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "bindings.kyma-project.io", Version: "v1alpha1"} // 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 )
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BindingSpec `json:"spec,omitempty"` Status BindingStatus `json:"status,omitempty"` }
Binding is the Schema for the bindings API
func (*Binding) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
func (*Binding) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Binding) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BindingList ¶
type BindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Binding `json:"items"` }
BindingList contains a list of Binding
func (*BindingList) DeepCopy ¶
func (in *BindingList) DeepCopy() *BindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingList.
func (*BindingList) DeepCopyInto ¶
func (in *BindingList) DeepCopyInto(out *BindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BindingList) DeepCopyObject ¶
func (in *BindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BindingPhase ¶
type BindingPhase string
type BindingSpec ¶
BindingSpec defines the desired state of Binding
func (*BindingSpec) DeepCopy ¶
func (in *BindingSpec) DeepCopy() *BindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingSpec.
func (*BindingSpec) DeepCopyInto ¶
func (in *BindingSpec) DeepCopyInto(out *BindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BindingStatus ¶
type BindingStatus struct { Phase BindingPhase `json:"phase"` Message string `json:"message"` Target string `json:"target"` Source string `json:"source"` LastProcessedTime *metav1.Time `json:"lastProcessedTime,omitempty"` }
BindingStatus defines the observed state of Binding
func (*BindingStatus) DeepCopy ¶
func (bs *BindingStatus) DeepCopy() *BindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingStatus.
func (*BindingStatus) DeepCopyInto ¶
func (bs *BindingStatus) DeepCopyInto(out *BindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BindingStatus) Failed ¶
func (bs *BindingStatus) Failed() error
func (*BindingStatus) Init ¶
func (bs *BindingStatus) Init() error
func (*BindingStatus) IsEmpty ¶
func (bs *BindingStatus) IsEmpty() bool
func (*BindingStatus) IsFailed ¶
func (bs *BindingStatus) IsFailed() bool
func (*BindingStatus) IsPending ¶
func (bs *BindingStatus) IsPending() bool
func (*BindingStatus) Pending ¶
func (bs *BindingStatus) Pending() error
func (*BindingStatus) Ready ¶
func (bs *BindingStatus) Ready() error
type Source ¶
type Source struct { Kind SourceKind `json:"kind"` Name string `json:"name"` }
type SourceKind ¶
type SourceKind string
type TargetKind ¶
type TargetKind struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TargetKindSpec `json:"spec,omitempty"` Status TargetKindStatus `json:"status,omitempty"` }
TargetKind is the Schema for the targetkinds API
func (*TargetKind) DeepCopy ¶
func (in *TargetKind) DeepCopy() *TargetKind
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetKind.
func (*TargetKind) DeepCopyInto ¶
func (in *TargetKind) DeepCopyInto(out *TargetKind)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetKind) DeepCopyObject ¶
func (in *TargetKind) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetKindList ¶
type TargetKindList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TargetKind `json:"items"` }
TargetKindList contains a list of TargetKind
func (*TargetKindList) DeepCopy ¶
func (in *TargetKindList) DeepCopy() *TargetKindList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetKindList.
func (*TargetKindList) DeepCopyInto ¶
func (in *TargetKindList) DeepCopyInto(out *TargetKindList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetKindList) DeepCopyObject ¶
func (in *TargetKindList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetKindSpec ¶
type TargetKindSpec struct { DisplayName string `json:"displayName"` Resource Resource `json:"resource"` LabelsPath string `json:"labelsPath"` }
TargetKindSpec defines the desired state of TargetKind
func (*TargetKindSpec) DeepCopy ¶
func (in *TargetKindSpec) DeepCopy() *TargetKindSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetKindSpec.
func (*TargetKindSpec) DeepCopyInto ¶
func (in *TargetKindSpec) DeepCopyInto(out *TargetKindSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetKindStatus ¶
type TargetKindStatus struct { Phase TargetKindPhase `json:"phase"` Message string `json:"message"` LastProcessedTime *metav1.Time `json:"lastProcessedTime,omitempty"` }
TargetKindStatus defines the observed state of TargetKind
func (*TargetKindStatus) DeepCopy ¶
func (in *TargetKindStatus) DeepCopy() *TargetKindStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetKindStatus.
func (*TargetKindStatus) DeepCopyInto ¶
func (in *TargetKindStatus) DeepCopyInto(out *TargetKindStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetKindStatus) Failed ¶
func (tks *TargetKindStatus) Failed() error
func (*TargetKindStatus) IsEmpty ¶
func (tks *TargetKindStatus) IsEmpty() bool
func (*TargetKindStatus) IsFailed ¶
func (tks *TargetKindStatus) IsFailed() bool
func (*TargetKindStatus) IsRegistered ¶
func (tks *TargetKindStatus) IsRegistered() bool
func (*TargetKindStatus) Registered ¶
func (tks *TargetKindStatus) Registered() error