v1alpha1

package
v0.0.0-...-c92f746 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: Apache-2.0 Imports: 12 Imported by: 7

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=bindings.toversus.dev

Index

Constants

View Source
const (
	// DatabaseBindingConditionReady is set when the binding has been applied to the subjects.
	DatabaseBindingConditionReady = apis.ConditionReady
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: samples.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type DatabaseBinding

type DatabaseBinding struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec holds the desired state of the DatabaseBinding (from the client).
	// +optional
	Spec DatabaseBindingSpec `json:"spec,omitempty"`

	// Status communicates the observed state of the AddressableService (from the controller).
	// +optional
	Status DatabaseBindingStatus `json:"status,omitempty"`
}

DatabaseBinding is a Knative abstraction that encapsulates the interface by which Knative components express a desire to have a particular image cached.

func (*DatabaseBinding) DeepCopy

func (in *DatabaseBinding) DeepCopy() *DatabaseBinding

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

func (*DatabaseBinding) DeepCopyInto

func (in *DatabaseBinding) DeepCopyInto(out *DatabaseBinding)

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

func (*DatabaseBinding) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatabaseBinding) Do

func (db *DatabaseBinding) Do(ctx context.Context, ps *duckv1.WithPod)

func (*DatabaseBinding) GetGroupVersionKind

func (db *DatabaseBinding) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*DatabaseBinding) GetSubject

func (db *DatabaseBinding) GetSubject() tracker.Reference

func (*DatabaseBinding) SetDefaults

func (ds *DatabaseBinding) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*DatabaseBinding) Undo

func (db *DatabaseBinding) Undo(ctx context.Context, ps *duckv1.WithPod)

func (*DatabaseBinding) Validate

func (db *DatabaseBinding) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type DatabaseBindingList

type DatabaseBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []DatabaseBinding `json:"items"`
}

DatabaseBindingList is a list of DatabaseBinding resources

func (*DatabaseBindingList) DeepCopy

func (in *DatabaseBindingList) DeepCopy() *DatabaseBindingList

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

func (*DatabaseBindingList) DeepCopyInto

func (in *DatabaseBindingList) DeepCopyInto(out *DatabaseBindingList)

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

func (*DatabaseBindingList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DatabaseBindingSpec

type DatabaseBindingSpec struct {
	// Subject holds a reference to the "pod speccable" Kubernetes resource which will
	// be bound with Database user password.
	Subject tracker.Reference `json:"subject"`

	// Secret holds a reference to a secret containing the Github auth data.
	Secret corev1.LocalObjectReference `json:"secret"`
}

DatabaseBindingSpec holds the desired state of the AddressableService (from the client).

func (*DatabaseBindingSpec) DeepCopy

func (in *DatabaseBindingSpec) DeepCopy() *DatabaseBindingSpec

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

func (*DatabaseBindingSpec) DeepCopyInto

func (in *DatabaseBindingSpec) DeepCopyInto(out *DatabaseBindingSpec)

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

func (*DatabaseBindingSpec) Validate

func (dbs *DatabaseBindingSpec) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type DatabaseBindingStatus

type DatabaseBindingStatus struct {
	duckv1beta1.Status `json:",inline"`
}

DatabaseBindingStatus communicates the observed state of the AddressableService (from the controller).

func (*DatabaseBindingStatus) DeepCopy

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

func (*DatabaseBindingStatus) DeepCopyInto

func (in *DatabaseBindingStatus) DeepCopyInto(out *DatabaseBindingStatus)

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

func (*DatabaseBindingStatus) InitializeConditions

func (dbs *DatabaseBindingStatus) InitializeConditions()

func (*DatabaseBindingStatus) MarkBindingUnavailable

func (dbs *DatabaseBindingStatus) MarkBindingUnavailable(reason, message string)

func (*DatabaseBindingStatus) MarkServiceAvailable

func (dbs *DatabaseBindingStatus) MarkServiceAvailable()

Jump to

Keyboard shortcuts

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