v1alpha1

package
v0.0.0-...-750f79a Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BindingLabelKey          = "bindings.kyma.project.io"
	BindingValidatedLabelKey = "validation.bindings.kyma.project.io"
)
View Source
const (
	BindingReady   = "Ready"
	BindingPending = "Pending"
	BindingFailed  = "Failed"
)
View Source
const (
	SourceKindSecret    = "secret"
	SourceKindConfigMap = "config-map"
)
View Source
const (
	TargetKindRegistered = "Registered"
	TargetKindFailed     = "Failed"
)
View Source
const (
	BindingFinalizer string = "kyma-project-io/bindings"
)

Variables

View Source
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

func (in *Binding) DeepCopy() *Binding

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

func (*Binding) DeepCopyInto

func (in *Binding) DeepCopyInto(out *Binding)

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

func (*Binding) DeepCopyObject

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

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

type BindingSpec struct {
	Source Source `json:"source"`
	Target Target `json:"target"`
}

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 Kind

type Kind string

Kind represents Kubernetes Kind name

type Resource

type Resource struct {
	Group   string `json:"group"`
	Kind    Kind   `json:"kind"`
	Version string `json:"version"`
}

type Source

type Source struct {
	Kind SourceKind `json:"kind"`
	Name string     `json:"name"`
}

type SourceKind

type SourceKind string

type Target

type Target struct {
	Kind string `json:"kind"`
	Name string `json:"name"`
}

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 TargetKindPhase

type TargetKindPhase string

TargetKindPhase describes TargetKind phase

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL