v1alpha1

package
v0.0.0-...-bc25bb7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=sources.tanzu.vmware.com

Index

Constants

View Source
const (
	// VSphereSourceConditionReady is set to reflect the overall state of the resource.
	VSphereSourceConditionReady = apis.ConditionReady

	// VSphereSourceConditionSourceReady is set to reflect the state of the source part of the VSphereSource.
	VSphereSourceConditionSourceReady = "SourceReady"

	// VSphereSourceConditionAuthReady is set to reflect the state of the auth part of the VSphereSource.
	VSphereSourceConditionAuthReady = "AuthReady"

	// VSphereSourceConditionAdapterReady is set to reflect the state of the adapter part of the VSphereSource.
	VSphereSourceConditionAdapterReady = "AdapterReady"
)
View Source
const (
	// VSphereBindingConditionReady is configured to indicate whether the Binding
	// has been configured for resources subject to its runtime contract.
	VSphereBindingConditionReady = apis.ConditionReady
)

Variables

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

type VAuthSpec struct {
	// Address contains the URL of the vSphere API.
	Address apis.URL `json:"address"`

	// SkipTLSVerify specifies whether the client should skip TLS verification when
	// talking to the vsphere address.
	SkipTLSVerify bool `json:"skipTLSVerify,omitempty"`

	// SecretRef is a reference to a Kubernetes secret of type kubernetes.io/basic-auth
	// which contains keys for "username" and "password", which will be used to authenticate
	//  with the vSphere API at "address".
	SecretRef corev1.LocalObjectReference `json:"secretRef"`
}

VAuthSpec is the information used to authenticate with a vSphere API

func (*VAuthSpec) DeepCopy

func (in *VAuthSpec) DeepCopy() *VAuthSpec

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

func (*VAuthSpec) DeepCopyInto

func (in *VAuthSpec) DeepCopyInto(out *VAuthSpec)

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

func (*VAuthSpec) Validate

func (vas *VAuthSpec) Validate(ctx context.Context) (err *apis.FieldError)

Validate implements apis.Validatable

type VSphereBinding

type VSphereBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VSphereBindingSpec   `json:"spec"`
	Status VSphereBindingStatus `json:"status"`
}

VSphereBinding describes a Binding that makes authenticating against a vSphere API simple.

func (*VSphereBinding) DeepCopy

func (in *VSphereBinding) DeepCopy() *VSphereBinding

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

func (*VSphereBinding) DeepCopyInto

func (in *VSphereBinding) DeepCopyInto(out *VSphereBinding)

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

func (*VSphereBinding) DeepCopyObject

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

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

func (*VSphereBinding) Do

func (vsb *VSphereBinding) Do(ctx context.Context, ps *duckv1.WithPod)

Do implements psbinding.Bindable

func (*VSphereBinding) GetBindingStatus

func (sb *VSphereBinding) GetBindingStatus() duck.BindableStatus

GetBindingStatus implements psbinding.Bindable

func (*VSphereBinding) GetGroupVersionKind

func (s *VSphereBinding) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind returns the GroupVersionKind.

func (*VSphereBinding) GetSubject

func (sb *VSphereBinding) GetSubject() tracker.Reference

GetSubject implements psbinding.Bindable

func (*VSphereBinding) GetUntypedSpec

func (s *VSphereBinding) GetUntypedSpec() interface{}

GetUntypedSpec implements apis.HasSpec

func (*VSphereBinding) SetDefaults

func (as *VSphereBinding) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*VSphereBinding) Undo

func (vsb *VSphereBinding) Undo(ctx context.Context, ps *duckv1.WithPod)

func (*VSphereBinding) Validate

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

Validate implements apis.Validatable

type VSphereBindingList

type VSphereBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VSphereBinding `json:"items"`
}

VSphereBindingList contains a list of VSphereBinding

func (*VSphereBindingList) DeepCopy

func (in *VSphereBindingList) DeepCopy() *VSphereBindingList

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

func (*VSphereBindingList) DeepCopyInto

func (in *VSphereBindingList) DeepCopyInto(out *VSphereBindingList)

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

func (*VSphereBindingList) DeepCopyObject

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

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

type VSphereBindingSpec

type VSphereBindingSpec struct {
	duckv1alpha1.BindingSpec `json:",inline"`

	VAuthSpec `json:",inline"`
}

VSphereBindingSpec holds the desired state of the VSphereBinding (from the client).

func (*VSphereBindingSpec) DeepCopy

func (in *VSphereBindingSpec) DeepCopy() *VSphereBindingSpec

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

func (*VSphereBindingSpec) DeepCopyInto

func (in *VSphereBindingSpec) DeepCopyInto(out *VSphereBindingSpec)

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

func (*VSphereBindingSpec) Validate

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

Validate implements apis.Validatable

type VSphereBindingStatus

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

VSphereBindingStatus communicates the observed state of the VSphereBinding (from the controller).

func (*VSphereBindingStatus) DeepCopy

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

func (*VSphereBindingStatus) DeepCopyInto

func (in *VSphereBindingStatus) DeepCopyInto(out *VSphereBindingStatus)

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

func (*VSphereBindingStatus) InitializeConditions

func (sbs *VSphereBindingStatus) InitializeConditions()

InitializeConditions populates the VSphereBindingStatus's conditions field with all of its conditions configured to Unknown.

func (*VSphereBindingStatus) MarkBindingAvailable

func (sbs *VSphereBindingStatus) MarkBindingAvailable()

MarkBindingAvailable marks the VSphereBinding's Ready condition to True.

func (*VSphereBindingStatus) MarkBindingUnavailable

func (sbs *VSphereBindingStatus) MarkBindingUnavailable(reason, message string)

MarkBindingUnavailable marks the VSphereBinding's Ready condition to False with the provided reason and message.

func (*VSphereBindingStatus) SetObservedGeneration

func (sbs *VSphereBindingStatus) SetObservedGeneration(gen int64)

SetObservedGeneration implements psbinding.BindableStatus

type VSphereSource

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

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

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

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

func (*VSphereSource) DeepCopy

func (in *VSphereSource) DeepCopy() *VSphereSource

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

func (*VSphereSource) DeepCopyInto

func (in *VSphereSource) DeepCopyInto(out *VSphereSource)

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

func (*VSphereSource) DeepCopyObject

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

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

func (*VSphereSource) GetGroupVersionKind

func (as *VSphereSource) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*VSphereSource) SetDefaults

func (as *VSphereSource) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*VSphereSource) Validate

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

Validate implements apis.Validatable

type VSphereSourceList

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

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

VSphereSourceList is a list of VSphereSource resources

func (*VSphereSourceList) DeepCopy

func (in *VSphereSourceList) DeepCopy() *VSphereSourceList

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

func (*VSphereSourceList) DeepCopyInto

func (in *VSphereSourceList) DeepCopyInto(out *VSphereSourceList)

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

func (*VSphereSourceList) DeepCopyObject

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

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

type VSphereSourceSpec

type VSphereSourceSpec struct {
	duckv1.SourceSpec `json:",inline"`

	VAuthSpec `json:",inline"`
}

VSphereSourceSpec holds the desired state of the VSphereSource (from the client).

func (*VSphereSourceSpec) DeepCopy

func (in *VSphereSourceSpec) DeepCopy() *VSphereSourceSpec

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

func (*VSphereSourceSpec) DeepCopyInto

func (in *VSphereSourceSpec) DeepCopyInto(out *VSphereSourceSpec)

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

func (*VSphereSourceSpec) Validate

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

Validate implements apis.Validatable

type VSphereSourceStatus

type VSphereSourceStatus struct {
	duckv1.SourceStatus `json:",inline"`
}

VSphereSourceStatus communicates the observed state of the VSphereSource (from the controller).

func (*VSphereSourceStatus) DeepCopy

func (in *VSphereSourceStatus) DeepCopy() *VSphereSourceStatus

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

func (*VSphereSourceStatus) DeepCopyInto

func (in *VSphereSourceStatus) DeepCopyInto(out *VSphereSourceStatus)

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

func (*VSphereSourceStatus) InitializeConditions

func (ass *VSphereSourceStatus) InitializeConditions()

func (*VSphereSourceStatus) PropagateAdapterStatus

func (ass *VSphereSourceStatus) PropagateAdapterStatus(d appsv1.DeploymentStatus)

func (*VSphereSourceStatus) PropagateAuthStatus

func (ass *VSphereSourceStatus) PropagateAuthStatus(status duckv1.Status)

func (*VSphereSourceStatus) PropagateSourceStatus

func (ass *VSphereSourceStatus) PropagateSourceStatus(status duckv1.SourceStatus)

Jump to

Keyboard shortcuts

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