v1alpha1

package
v0.0.0-...-c9b6943 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Overview

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

Index

Constants

View Source
const (
	// GithubBindingConditionReady is set when the binding has been applied to the subjects.
	GithubBindingConditionReady = apis.ConditionReady
)
View Source
const (
	// GoogleCloudSQLBindingConditionReady is set when the binding has been applied to the subjects.
	GoogleCloudSQLBindingConditionReady = apis.ConditionReady
)
View Source
const (
	// SQLBindingConditionReady is set when the binding has been applied to the subjects.
	SQLBindingConditionReady = apis.ConditionReady
)
View Source
const (
	// SlackBindingConditionReady is set when the binding has been applied to the subjects.
	SlackBindingConditionReady = apis.ConditionReady
)
View Source
const (
	// TwitterBindingConditionReady is set when the binding has been applied to the subjects.
	TwitterBindingConditionReady = apis.ConditionReady
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: bindings.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 GithubBinding

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

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

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

GithubBinding is a Knative-style Binding for injecting Github credentials compatible with ./pkg/github into any Kubernetes resource with a Pod Spec.

func (*GithubBinding) DeepCopy

func (in *GithubBinding) DeepCopy() *GithubBinding

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

func (*GithubBinding) DeepCopyInto

func (in *GithubBinding) DeepCopyInto(out *GithubBinding)

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

func (*GithubBinding) DeepCopyObject

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

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

func (*GithubBinding) Do

func (fb *GithubBinding) Do(ctx context.Context, ps *duckv1.WithPod)

func (*GithubBinding) GetBindingStatus

func (fb *GithubBinding) GetBindingStatus() duck.BindableStatus

GetBindingStatus implements Bindable

func (*GithubBinding) GetGroupVersionKind

func (fb *GithubBinding) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*GithubBinding) GetSubject

func (fb *GithubBinding) GetSubject() tracker.Reference

GetSubject implements Bindable

func (*GithubBinding) SetDefaults

func (fb *GithubBinding) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*GithubBinding) Undo

func (fb *GithubBinding) Undo(ctx context.Context, ps *duckv1.WithPod)

func (*GithubBinding) Validate

func (fb *GithubBinding) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type GithubBindingList

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

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

GithubBindingList is a list of GithubBinding resources

func (*GithubBindingList) DeepCopy

func (in *GithubBindingList) DeepCopy() *GithubBindingList

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

func (*GithubBindingList) DeepCopyInto

func (in *GithubBindingList) DeepCopyInto(out *GithubBindingList)

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

func (*GithubBindingList) DeepCopyObject

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

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

type GithubBindingSpec

type GithubBindingSpec struct {
	// Subject holds a reference to the "pod speccable" Kubernetes resource which will
	// be bound with Github secret data.
	Subject tracker.Reference `json:"subject"`

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

GithubBindingSpec holds the desired state of the GithubBinding (from the client).

func (*GithubBindingSpec) DeepCopy

func (in *GithubBindingSpec) DeepCopy() *GithubBindingSpec

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

func (*GithubBindingSpec) DeepCopyInto

func (in *GithubBindingSpec) DeepCopyInto(out *GithubBindingSpec)

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

func (*GithubBindingSpec) Validate

func (fbs *GithubBindingSpec) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type GithubBindingStatus

type GithubBindingStatus struct {
	duckv1.Status `json:",inline"`
}

GithubBindingStatus communicates the observed state of the GithubBinding (from the controller).

func (*GithubBindingStatus) DeepCopy

func (in *GithubBindingStatus) DeepCopy() *GithubBindingStatus

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

func (*GithubBindingStatus) DeepCopyInto

func (in *GithubBindingStatus) DeepCopyInto(out *GithubBindingStatus)

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

func (*GithubBindingStatus) InitializeConditions

func (fbs *GithubBindingStatus) InitializeConditions()

func (*GithubBindingStatus) MarkBindingAvailable

func (fbs *GithubBindingStatus) MarkBindingAvailable()

func (*GithubBindingStatus) MarkBindingUnavailable

func (fbs *GithubBindingStatus) MarkBindingUnavailable(reason, message string)

func (*GithubBindingStatus) SetObservedGeneration

func (fbs *GithubBindingStatus) SetObservedGeneration(gen int64)

SetObservedGeneration implements BindableStatus

type GoogleCloudSQLBinding

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

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

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

GoogleCloudSQLBinding is a Knative-style Binding for injecting GoogleCloudSQL credentials compatible with ./pkg/github into any Kubernetes resource with a Pod Spec.

func (*GoogleCloudSQLBinding) DeepCopy

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

func (*GoogleCloudSQLBinding) DeepCopyInto

func (in *GoogleCloudSQLBinding) DeepCopyInto(out *GoogleCloudSQLBinding)

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

func (*GoogleCloudSQLBinding) DeepCopyObject

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

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

func (*GoogleCloudSQLBinding) Do

func (*GoogleCloudSQLBinding) GetBindingStatus

func (fb *GoogleCloudSQLBinding) GetBindingStatus() duck.BindableStatus

GetBindingStatus implements Bindable

func (*GoogleCloudSQLBinding) GetGroupVersionKind

func (fb *GoogleCloudSQLBinding) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*GoogleCloudSQLBinding) GetSubject

func (fb *GoogleCloudSQLBinding) GetSubject() tracker.Reference

GetSubject implements Bindable

func (*GoogleCloudSQLBinding) SetDefaults

func (fb *GoogleCloudSQLBinding) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*GoogleCloudSQLBinding) Undo

func (fb *GoogleCloudSQLBinding) Undo(ctx context.Context, ps *duckv1.WithPod)

func (*GoogleCloudSQLBinding) Validate

Validate implements apis.Validatable

type GoogleCloudSQLBindingList

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

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

GoogleCloudSQLBindingList is a list of GoogleCloudSQLBinding resources

func (*GoogleCloudSQLBindingList) DeepCopy

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

func (*GoogleCloudSQLBindingList) DeepCopyInto

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

func (*GoogleCloudSQLBindingList) DeepCopyObject

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

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

type GoogleCloudSQLBindingSpec

type GoogleCloudSQLBindingSpec struct {
	// Subject holds a reference to the "pod speccable" Kubernetes resource which will
	// be bound with GoogleCloudSQL secret data.
	Subject tracker.Reference `json:"subject"`

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

	// Instance holds the name of the Cloud SQL instance to which the sidecar can connect.
	Instance string `json:"instance"`
}

GoogleCloudSQLBindingSpec holds the desired state of the GoogleCloudSQLBinding (from the client).

func (*GoogleCloudSQLBindingSpec) DeepCopy

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

func (*GoogleCloudSQLBindingSpec) DeepCopyInto

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

func (*GoogleCloudSQLBindingSpec) Validate

Validate implements apis.Validatable

type GoogleCloudSQLBindingStatus

type GoogleCloudSQLBindingStatus struct {
	duckv1.Status `json:",inline"`
}

GoogleCloudSQLBindingStatus communicates the observed state of the GoogleCloudSQLBinding (from the controller).

func (*GoogleCloudSQLBindingStatus) DeepCopy

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

func (*GoogleCloudSQLBindingStatus) DeepCopyInto

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

func (*GoogleCloudSQLBindingStatus) InitializeConditions

func (fbs *GoogleCloudSQLBindingStatus) InitializeConditions()

func (*GoogleCloudSQLBindingStatus) MarkBindingAvailable

func (fbs *GoogleCloudSQLBindingStatus) MarkBindingAvailable()

func (*GoogleCloudSQLBindingStatus) MarkBindingUnavailable

func (fbs *GoogleCloudSQLBindingStatus) MarkBindingUnavailable(reason, message string)

func (*GoogleCloudSQLBindingStatus) SetObservedGeneration

func (fbs *GoogleCloudSQLBindingStatus) SetObservedGeneration(gen int64)

SetObservedGeneration implements BindableStatus

type SQLBinding

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

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

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

SQLBinding is a Knative-style Binding for injecting GoogleCloudSQL credentials compatible with ./pkg/github into any Kubernetes resource with a Pod Spec.

func (*SQLBinding) DeepCopy

func (in *SQLBinding) DeepCopy() *SQLBinding

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

func (*SQLBinding) DeepCopyInto

func (in *SQLBinding) DeepCopyInto(out *SQLBinding)

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

func (*SQLBinding) DeepCopyObject

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

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

func (*SQLBinding) Do

func (fb *SQLBinding) Do(ctx context.Context, ps *duckv1.WithPod)

func (*SQLBinding) GetBindingStatus

func (fb *SQLBinding) GetBindingStatus() duck.BindableStatus

GetBindingStatus implements Bindable

func (*SQLBinding) GetGroupVersionKind

func (fb *SQLBinding) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*SQLBinding) GetSubject

func (fb *SQLBinding) GetSubject() tracker.Reference

GetSubject implements Bindable

func (*SQLBinding) SetDefaults

func (fb *SQLBinding) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*SQLBinding) Undo

func (fb *SQLBinding) Undo(ctx context.Context, ps *duckv1.WithPod)

func (*SQLBinding) Validate

func (fb *SQLBinding) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type SQLBindingList

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

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

SQLBindingList is a list of SQLBinding resources

func (*SQLBindingList) DeepCopy

func (in *SQLBindingList) DeepCopy() *SQLBindingList

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

func (*SQLBindingList) DeepCopyInto

func (in *SQLBindingList) DeepCopyInto(out *SQLBindingList)

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

func (*SQLBindingList) DeepCopyObject

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

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

type SQLBindingSpec

type SQLBindingSpec struct {
	// Subject holds a reference to the "pod speccable" Kubernetes resource which will
	// be bound with SQL secret data.
	Subject tracker.Reference `json:"subject"`

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

SQLBindingSpec holds the desired state of the SQLBinding (from the client).

func (*SQLBindingSpec) DeepCopy

func (in *SQLBindingSpec) DeepCopy() *SQLBindingSpec

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

func (*SQLBindingSpec) DeepCopyInto

func (in *SQLBindingSpec) DeepCopyInto(out *SQLBindingSpec)

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

func (*SQLBindingSpec) Validate

func (fbs *SQLBindingSpec) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type SQLBindingStatus

type SQLBindingStatus struct {
	duckv1.Status `json:",inline"`
}

SQLBindingStatus communicates the observed state of the SQLBinding (from the controller).

func (*SQLBindingStatus) DeepCopy

func (in *SQLBindingStatus) DeepCopy() *SQLBindingStatus

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

func (*SQLBindingStatus) DeepCopyInto

func (in *SQLBindingStatus) DeepCopyInto(out *SQLBindingStatus)

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

func (*SQLBindingStatus) InitializeConditions

func (fbs *SQLBindingStatus) InitializeConditions()

func (*SQLBindingStatus) MarkBindingAvailable

func (fbs *SQLBindingStatus) MarkBindingAvailable()

func (*SQLBindingStatus) MarkBindingUnavailable

func (fbs *SQLBindingStatus) MarkBindingUnavailable(reason, message string)

func (*SQLBindingStatus) SetObservedGeneration

func (fbs *SQLBindingStatus) SetObservedGeneration(gen int64)

SetObservedGeneration implements BindableStatus

type SlackBinding

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

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

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

SlackBinding is a Knative-style Binding for injecting Slack credentials compatible with ./pkg/slack into any Kubernetes resource with a Pod Spec.

func (*SlackBinding) DeepCopy

func (in *SlackBinding) DeepCopy() *SlackBinding

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

func (*SlackBinding) DeepCopyInto

func (in *SlackBinding) DeepCopyInto(out *SlackBinding)

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

func (*SlackBinding) DeepCopyObject

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

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

func (*SlackBinding) Do

func (fb *SlackBinding) Do(ctx context.Context, ps *duckv1.WithPod)

func (*SlackBinding) GetBindingStatus

func (fb *SlackBinding) GetBindingStatus() duck.BindableStatus

GetBindingStatus implements Bindable

func (*SlackBinding) GetGroupVersionKind

func (fb *SlackBinding) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*SlackBinding) GetSubject

func (fb *SlackBinding) GetSubject() tracker.Reference

GetSubject implements Bindable

func (*SlackBinding) SetDefaults

func (fb *SlackBinding) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*SlackBinding) Undo

func (fb *SlackBinding) Undo(ctx context.Context, ps *duckv1.WithPod)

func (*SlackBinding) Validate

func (fb *SlackBinding) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type SlackBindingList

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

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

SlackBindingList is a list of SlackBinding resources

func (*SlackBindingList) DeepCopy

func (in *SlackBindingList) DeepCopy() *SlackBindingList

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

func (*SlackBindingList) DeepCopyInto

func (in *SlackBindingList) DeepCopyInto(out *SlackBindingList)

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

func (*SlackBindingList) DeepCopyObject

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

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

type SlackBindingSpec

type SlackBindingSpec struct {
	// Subject holds a reference to the "pod speccable" Kubernetes resource which will
	// be bound with Slack secret data.
	Subject tracker.Reference `json:"subject"`

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

SlackBindingSpec holds the desired state of the SlackBinding (from the client).

func (*SlackBindingSpec) DeepCopy

func (in *SlackBindingSpec) DeepCopy() *SlackBindingSpec

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

func (*SlackBindingSpec) DeepCopyInto

func (in *SlackBindingSpec) DeepCopyInto(out *SlackBindingSpec)

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

func (*SlackBindingSpec) Validate

func (fbs *SlackBindingSpec) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type SlackBindingStatus

type SlackBindingStatus struct {
	duckv1.Status `json:",inline"`
}

SlackBindingStatus communicates the observed state of the SlackBinding (from the controller).

func (*SlackBindingStatus) DeepCopy

func (in *SlackBindingStatus) DeepCopy() *SlackBindingStatus

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

func (*SlackBindingStatus) DeepCopyInto

func (in *SlackBindingStatus) DeepCopyInto(out *SlackBindingStatus)

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

func (*SlackBindingStatus) InitializeConditions

func (fbs *SlackBindingStatus) InitializeConditions()

func (*SlackBindingStatus) MarkBindingAvailable

func (fbs *SlackBindingStatus) MarkBindingAvailable()

func (*SlackBindingStatus) MarkBindingUnavailable

func (fbs *SlackBindingStatus) MarkBindingUnavailable(reason, message string)

func (*SlackBindingStatus) SetObservedGeneration

func (fbs *SlackBindingStatus) SetObservedGeneration(gen int64)

SetObservedGeneration implements BindableStatus

type TwitterBinding

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

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

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

TwitterBinding is a Knative-style Binding for injecting Twitter credentials compatible with ./pkg/slack into any Kubernetes resource with a Pod Spec.

func (*TwitterBinding) DeepCopy

func (in *TwitterBinding) DeepCopy() *TwitterBinding

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

func (*TwitterBinding) DeepCopyInto

func (in *TwitterBinding) DeepCopyInto(out *TwitterBinding)

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

func (*TwitterBinding) DeepCopyObject

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

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

func (*TwitterBinding) Do

func (fb *TwitterBinding) Do(ctx context.Context, ps *duckv1.WithPod)

func (*TwitterBinding) GetBindingStatus

func (fb *TwitterBinding) GetBindingStatus() duck.BindableStatus

GetBindingStatus implements Bindable

func (*TwitterBinding) GetGroupVersionKind

func (fb *TwitterBinding) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*TwitterBinding) GetSubject

func (fb *TwitterBinding) GetSubject() tracker.Reference

GetSubject implements Bindable

func (*TwitterBinding) SetDefaults

func (fb *TwitterBinding) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*TwitterBinding) Undo

func (fb *TwitterBinding) Undo(ctx context.Context, ps *duckv1.WithPod)

func (*TwitterBinding) Validate

func (fb *TwitterBinding) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type TwitterBindingList

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

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

TwitterBindingList is a list of TwitterBinding resources

func (*TwitterBindingList) DeepCopy

func (in *TwitterBindingList) DeepCopy() *TwitterBindingList

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

func (*TwitterBindingList) DeepCopyInto

func (in *TwitterBindingList) DeepCopyInto(out *TwitterBindingList)

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

func (*TwitterBindingList) DeepCopyObject

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

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

type TwitterBindingSpec

type TwitterBindingSpec struct {
	// Subject holds a reference to the "pod speccable" Kubernetes resource which will
	// be bound with Twitter secret data.
	Subject tracker.Reference `json:"subject"`

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

TwitterBindingSpec holds the desired state of the TwitterBinding (from the client).

func (*TwitterBindingSpec) DeepCopy

func (in *TwitterBindingSpec) DeepCopy() *TwitterBindingSpec

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

func (*TwitterBindingSpec) DeepCopyInto

func (in *TwitterBindingSpec) DeepCopyInto(out *TwitterBindingSpec)

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

func (*TwitterBindingSpec) Validate

func (fbs *TwitterBindingSpec) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type TwitterBindingStatus

type TwitterBindingStatus struct {
	duckv1.Status `json:",inline"`
}

TwitterBindingStatus communicates the observed state of the TwitterBinding (from the controller).

func (*TwitterBindingStatus) DeepCopy

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

func (*TwitterBindingStatus) DeepCopyInto

func (in *TwitterBindingStatus) DeepCopyInto(out *TwitterBindingStatus)

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

func (*TwitterBindingStatus) InitializeConditions

func (fbs *TwitterBindingStatus) InitializeConditions()

func (*TwitterBindingStatus) MarkBindingAvailable

func (fbs *TwitterBindingStatus) MarkBindingAvailable()

func (*TwitterBindingStatus) MarkBindingUnavailable

func (fbs *TwitterBindingStatus) MarkBindingUnavailable(reason, message string)

func (*TwitterBindingStatus) SetObservedGeneration

func (fbs *TwitterBindingStatus) SetObservedGeneration(gen int64)

SetObservedGeneration implements BindableStatus

Jump to

Keyboard shortcuts

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