v1alpha1

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=bindings.labs.vmware.com

Index

Constants

View Source
const (
	GroupName = "bindings.labs.vmware.com"
)
View Source
const (
	ProvisionedServiceAnnotationKey = GroupName + "/provisioned-service"
)
View Source
const (
	ProvisionedServiceConditionReady = apis.ConditionReady
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
)

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 ProvisionedService

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

	Spec   ProvisionedServiceSpec   `json:"spec,omitempty"`
	Status ProvisionedServiceStatus `json:"status,omitempty"`
}

+genclient +genreconciler +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ProvisionedService) DeepCopy

func (in *ProvisionedService) DeepCopy() *ProvisionedService

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

func (*ProvisionedService) DeepCopyInto

func (in *ProvisionedService) DeepCopyInto(out *ProvisionedService)

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

func (*ProvisionedService) DeepCopyObject

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

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

func (*ProvisionedService) GetConditionSet

func (p *ProvisionedService) GetConditionSet() apis.ConditionSet

func (*ProvisionedService) GetGroupVersionKind

func (p *ProvisionedService) GetGroupVersionKind() schema.GroupVersionKind

func (*ProvisionedService) GetStatus

func (p *ProvisionedService) GetStatus() *duckv1.Status

func (*ProvisionedService) SetDefaults

func (p *ProvisionedService) SetDefaults(context.Context)

func (*ProvisionedService) Validate

func (p *ProvisionedService) Validate(ctx context.Context) (errs *apis.FieldError)

type ProvisionedServiceList

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

func (*ProvisionedServiceList) DeepCopy

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

func (*ProvisionedServiceList) DeepCopyInto

func (in *ProvisionedServiceList) DeepCopyInto(out *ProvisionedServiceList)

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

func (*ProvisionedServiceList) DeepCopyObject

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

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

type ProvisionedServiceSpec

type ProvisionedServiceSpec struct {
	Binding corev1.LocalObjectReference `json:"binding,omitempty"`
}

func (*ProvisionedServiceSpec) DeepCopy

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

func (*ProvisionedServiceSpec) DeepCopyInto

func (in *ProvisionedServiceSpec) DeepCopyInto(out *ProvisionedServiceSpec)

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

type ProvisionedServiceStatus

type ProvisionedServiceStatus struct {
	duckv1.Status `json:",inline"`
	Binding       corev1.LocalObjectReference `json:"binding,omitempty"`
}

func (*ProvisionedServiceStatus) DeepCopy

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

func (*ProvisionedServiceStatus) DeepCopyInto

func (in *ProvisionedServiceStatus) DeepCopyInto(out *ProvisionedServiceStatus)

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

func (*ProvisionedServiceStatus) InitializeConditions

func (ps *ProvisionedServiceStatus) InitializeConditions()

func (*ProvisionedServiceStatus) MarkReady

func (ps *ProvisionedServiceStatus) MarkReady()

Jump to

Keyboard shortcuts

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