v1

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+groupName=template.openshift.io Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/api/template/v1/generated.proto

It has these top-level messages:
	BrokerTemplateInstance
	BrokerTemplateInstanceList
	BrokerTemplateInstanceSpec
	ExtraValue
	Parameter
	Template
	TemplateInstance
	TemplateInstanceCondition
	TemplateInstanceList
	TemplateInstanceObject
	TemplateInstanceRequester
	TemplateInstanceSpec
	TemplateInstanceStatus
	TemplateList

Index

Constants

View Source
const (
	GroupName       = "template.openshift.io"
	LegacyGroupName = ""
)

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeGroupVersion       = schema.GroupVersion{Group: GroupName, Version: "v1"}
	LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "v1"}

	LegacySchemeBuilder    = runtime.NewSchemeBuilder(addLegacyKnownTypes)
	AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme

	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

Functions

func RegisterDeepCopies deprecated

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

func Resource

func Resource(resource string) schema.GroupResource

Types

type BrokerTemplateInstance

type BrokerTemplateInstance struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// spec describes the state of this BrokerTemplateInstance.
	Spec BrokerTemplateInstanceSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

BrokerTemplateInstance holds the service broker-related state associated with a TemplateInstance. BrokerTemplateInstance is part of an experimental API.

func (*BrokerTemplateInstance) DeepCopy

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

func (*BrokerTemplateInstance) DeepCopyInto

func (in *BrokerTemplateInstance) DeepCopyInto(out *BrokerTemplateInstance)

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

func (*BrokerTemplateInstance) DeepCopyObject

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

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

func (*BrokerTemplateInstance) Descriptor

func (*BrokerTemplateInstance) Descriptor() ([]byte, []int)

func (*BrokerTemplateInstance) Marshal

func (m *BrokerTemplateInstance) Marshal() (dAtA []byte, err error)

func (*BrokerTemplateInstance) MarshalTo

func (m *BrokerTemplateInstance) MarshalTo(dAtA []byte) (int, error)

func (*BrokerTemplateInstance) ProtoMessage

func (*BrokerTemplateInstance) ProtoMessage()

func (*BrokerTemplateInstance) Reset

func (m *BrokerTemplateInstance) Reset()

func (*BrokerTemplateInstance) Size

func (m *BrokerTemplateInstance) Size() (n int)

func (*BrokerTemplateInstance) String

func (this *BrokerTemplateInstance) String() string

func (BrokerTemplateInstance) SwaggerDoc

func (BrokerTemplateInstance) SwaggerDoc() map[string]string

func (*BrokerTemplateInstance) Unmarshal

func (m *BrokerTemplateInstance) Unmarshal(dAtA []byte) error

type BrokerTemplateInstanceList

type BrokerTemplateInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// items is a list of BrokerTemplateInstances
	Items []BrokerTemplateInstance `json:"items" protobuf:"bytes,2,rep,name=items"`
}

BrokerTemplateInstanceList is a list of BrokerTemplateInstance objects.

func (*BrokerTemplateInstanceList) DeepCopy

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

func (*BrokerTemplateInstanceList) DeepCopyInto

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

func (*BrokerTemplateInstanceList) DeepCopyObject

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

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

func (*BrokerTemplateInstanceList) Descriptor

func (*BrokerTemplateInstanceList) Descriptor() ([]byte, []int)

func (*BrokerTemplateInstanceList) Marshal

func (m *BrokerTemplateInstanceList) Marshal() (dAtA []byte, err error)

func (*BrokerTemplateInstanceList) MarshalTo

func (m *BrokerTemplateInstanceList) MarshalTo(dAtA []byte) (int, error)

func (*BrokerTemplateInstanceList) ProtoMessage

func (*BrokerTemplateInstanceList) ProtoMessage()

func (*BrokerTemplateInstanceList) Reset

func (m *BrokerTemplateInstanceList) Reset()

func (*BrokerTemplateInstanceList) Size

func (m *BrokerTemplateInstanceList) Size() (n int)

func (*BrokerTemplateInstanceList) String

func (this *BrokerTemplateInstanceList) String() string

func (BrokerTemplateInstanceList) SwaggerDoc

func (BrokerTemplateInstanceList) SwaggerDoc() map[string]string

func (*BrokerTemplateInstanceList) Unmarshal

func (m *BrokerTemplateInstanceList) Unmarshal(dAtA []byte) error

type BrokerTemplateInstanceSpec

type BrokerTemplateInstanceSpec struct {
	// templateinstance is a reference to a TemplateInstance object residing
	// in a namespace.
	TemplateInstance corev1.ObjectReference `json:"templateInstance" protobuf:"bytes,1,opt,name=templateInstance"`

	// secret is a reference to a Secret object residing in a namespace,
	// containing the necessary template parameters.
	Secret corev1.ObjectReference `json:"secret" protobuf:"bytes,2,opt,name=secret"`

	// bindingids is a list of 'binding_id's provided during successive bind
	// calls to the template service broker.
	BindingIDs []string `json:"bindingIDs,omitempty" protobuf:"bytes,3,rep,name=bindingIDs"`
}

BrokerTemplateInstanceSpec describes the state of a BrokerTemplateInstance.

func (*BrokerTemplateInstanceSpec) DeepCopy

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

func (*BrokerTemplateInstanceSpec) DeepCopyInto

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

func (*BrokerTemplateInstanceSpec) Descriptor

func (*BrokerTemplateInstanceSpec) Descriptor() ([]byte, []int)

func (*BrokerTemplateInstanceSpec) Marshal

func (m *BrokerTemplateInstanceSpec) Marshal() (dAtA []byte, err error)

func (*BrokerTemplateInstanceSpec) MarshalTo

func (m *BrokerTemplateInstanceSpec) MarshalTo(dAtA []byte) (int, error)

func (*BrokerTemplateInstanceSpec) ProtoMessage

func (*BrokerTemplateInstanceSpec) ProtoMessage()

func (*BrokerTemplateInstanceSpec) Reset

func (m *BrokerTemplateInstanceSpec) Reset()

func (*BrokerTemplateInstanceSpec) Size

func (m *BrokerTemplateInstanceSpec) Size() (n int)

func (*BrokerTemplateInstanceSpec) String

func (this *BrokerTemplateInstanceSpec) String() string

func (BrokerTemplateInstanceSpec) SwaggerDoc

func (BrokerTemplateInstanceSpec) SwaggerDoc() map[string]string

func (*BrokerTemplateInstanceSpec) Unmarshal

func (m *BrokerTemplateInstanceSpec) Unmarshal(dAtA []byte) error

type ExtraValue

type ExtraValue []string

ExtraValue masks the value so protobuf can generate +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*ExtraValue) DeepCopy

func (in *ExtraValue) DeepCopy() *ExtraValue

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

func (*ExtraValue) DeepCopyInto

func (in *ExtraValue) DeepCopyInto(out *ExtraValue)

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

func (*ExtraValue) Descriptor

func (*ExtraValue) Descriptor() ([]byte, []int)

func (ExtraValue) Marshal

func (m ExtraValue) Marshal() (dAtA []byte, err error)

func (ExtraValue) MarshalTo

func (m ExtraValue) MarshalTo(dAtA []byte) (int, error)

func (*ExtraValue) ProtoMessage

func (*ExtraValue) ProtoMessage()

func (*ExtraValue) Reset

func (m *ExtraValue) Reset()

func (ExtraValue) Size

func (m ExtraValue) Size() (n int)

func (ExtraValue) String

func (t ExtraValue) String() string

func (*ExtraValue) Unmarshal

func (m *ExtraValue) Unmarshal(dAtA []byte) error

type Parameter

type Parameter struct {
	// Name must be set and it can be referenced in Template
	// Items using ${PARAMETER_NAME}. Required.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Optional: The name that will show in UI instead of parameter 'Name'
	DisplayName string `json:"displayName,omitempty" protobuf:"bytes,2,opt,name=displayName"`

	// Description of a parameter. Optional.
	Description string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"`

	// Value holds the Parameter data. If specified, the generator will be
	// ignored. The value replaces all occurrences of the Parameter ${Name}
	// expression during the Template to Config transformation. Optional.
	Value string `json:"value,omitempty" protobuf:"bytes,4,opt,name=value"`

	// generate specifies the generator to be used to generate random string
	// from an input value specified by From field. The result string is
	// stored into Value field. If empty, no generator is being used, leaving
	// the result Value untouched. Optional.
	//
	// The only supported generator is "expression", which accepts a "from"
	// value in the form of a simple regular expression containing the
	// range expression "[a-zA-Z0-9]", and the length expression "a{length}".
	//
	// Examples:
	//
	// from             | value
	// -----------------------------
	// "test[0-9]{1}x"  | "test7x"
	// "[0-1]{8}"       | "01001100"
	// "0x[A-F0-9]{4}"  | "0xB3AF"
	// "[a-zA-Z0-9]{8}" | "hW4yQU5i"
	//
	Generate string `json:"generate,omitempty" protobuf:"bytes,5,opt,name=generate"`

	// From is an input value for the generator. Optional.
	From string `json:"from,omitempty" protobuf:"bytes,6,opt,name=from"`

	// Optional: Indicates the parameter must have a value.  Defaults to false.
	Required bool `json:"required,omitempty" protobuf:"varint,7,opt,name=required"`
}

Parameter defines a name/value variable that is to be processed during the Template to Config transformation.

func (*Parameter) DeepCopy

func (in *Parameter) DeepCopy() *Parameter

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

func (*Parameter) DeepCopyInto

func (in *Parameter) DeepCopyInto(out *Parameter)

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

func (*Parameter) Descriptor

func (*Parameter) Descriptor() ([]byte, []int)

func (*Parameter) Marshal

func (m *Parameter) Marshal() (dAtA []byte, err error)

func (*Parameter) MarshalTo

func (m *Parameter) MarshalTo(dAtA []byte) (int, error)

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) Size

func (m *Parameter) Size() (n int)

func (*Parameter) String

func (this *Parameter) String() string

func (Parameter) SwaggerDoc

func (Parameter) SwaggerDoc() map[string]string

func (*Parameter) Unmarshal

func (m *Parameter) Unmarshal(dAtA []byte) error

type Template

type Template struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// message is an optional instructional message that will
	// be displayed when this template is instantiated.
	// This field should inform the user how to utilize the newly created resources.
	// Parameter substitution will be performed on the message before being
	// displayed so that generated credentials and other parameters can be
	// included in the output.
	Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"`

	// objects is an array of resources to include in this template.
	// If a namespace value is hardcoded in the object, it will be removed
	// during template instantiation, however if the namespace value
	// is, or contains, a ${PARAMETER_REFERENCE}, the resolved
	// value after parameter substitution will be respected and the object
	// will be created in that namespace.
	Objects []runtime.RawExtension `json:"objects" protobuf:"bytes,3,rep,name=objects"`

	// parameters is an optional array of Parameters used during the
	// Template to Config transformation.
	Parameters []Parameter `json:"parameters,omitempty" protobuf:"bytes,4,rep,name=parameters"`

	// labels is a optional set of labels that are applied to every
	// object during the Template to Config transformation.
	ObjectLabels map[string]string `json:"labels,omitempty" protobuf:"bytes,5,rep,name=labels"`
}

Template contains the inputs needed to produce a Config.

func (*Template) DecodeNestedObjects

func (c *Template) DecodeNestedObjects(d runtime.Decoder) error

DecodeNestedObjects decodes the object as a runtime.Unknown with JSON content.

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

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

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

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

func (*Template) DeepCopyObject

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

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

func (*Template) Descriptor

func (*Template) Descriptor() ([]byte, []int)

func (*Template) EncodeNestedObjects

func (c *Template) EncodeNestedObjects(e runtime.Encoder) error

func (*Template) Marshal

func (m *Template) Marshal() (dAtA []byte, err error)

func (*Template) MarshalTo

func (m *Template) MarshalTo(dAtA []byte) (int, error)

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) Reset

func (m *Template) Reset()

func (*Template) Size

func (m *Template) Size() (n int)

func (*Template) String

func (this *Template) String() string

func (Template) SwaggerDoc

func (Template) SwaggerDoc() map[string]string

func (*Template) Unmarshal

func (m *Template) Unmarshal(dAtA []byte) error

type TemplateInstance

type TemplateInstance struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// spec describes the desired state of this TemplateInstance.
	Spec TemplateInstanceSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// status describes the current state of this TemplateInstance.
	Status TemplateInstanceStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

TemplateInstance requests and records the instantiation of a Template. TemplateInstance is part of an experimental API.

func (*TemplateInstance) DeepCopy

func (in *TemplateInstance) DeepCopy() *TemplateInstance

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

func (*TemplateInstance) DeepCopyInto

func (in *TemplateInstance) DeepCopyInto(out *TemplateInstance)

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

func (*TemplateInstance) DeepCopyObject

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

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

func (*TemplateInstance) Descriptor

func (*TemplateInstance) Descriptor() ([]byte, []int)

func (*TemplateInstance) Marshal

func (m *TemplateInstance) Marshal() (dAtA []byte, err error)

func (*TemplateInstance) MarshalTo

func (m *TemplateInstance) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstance) ProtoMessage

func (*TemplateInstance) ProtoMessage()

func (*TemplateInstance) Reset

func (m *TemplateInstance) Reset()

func (*TemplateInstance) Size

func (m *TemplateInstance) Size() (n int)

func (*TemplateInstance) String

func (this *TemplateInstance) String() string

func (TemplateInstance) SwaggerDoc

func (TemplateInstance) SwaggerDoc() map[string]string

func (*TemplateInstance) Unmarshal

func (m *TemplateInstance) Unmarshal(dAtA []byte) error

type TemplateInstanceCondition

type TemplateInstanceCondition struct {
	// Type of the condition, currently Ready or InstantiateFailure.
	Type TemplateInstanceConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=TemplateInstanceConditionType"`
	// Status of the condition, one of True, False or Unknown.
	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status"`
	// LastTransitionTime is the last time a condition status transitioned from
	// one state to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// Reason is a brief machine readable explanation for the condition's last
	// transition.
	Reason string `json:"reason" protobuf:"bytes,4,opt,name=reason"`
	// Message is a human readable description of the details of the last
	// transition, complementing reason.
	Message string `json:"message" protobuf:"bytes,5,opt,name=message"`
}

TemplateInstanceCondition contains condition information for a TemplateInstance.

func (*TemplateInstanceCondition) DeepCopy

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

func (*TemplateInstanceCondition) DeepCopyInto

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

func (*TemplateInstanceCondition) Descriptor

func (*TemplateInstanceCondition) Descriptor() ([]byte, []int)

func (*TemplateInstanceCondition) Marshal

func (m *TemplateInstanceCondition) Marshal() (dAtA []byte, err error)

func (*TemplateInstanceCondition) MarshalTo

func (m *TemplateInstanceCondition) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstanceCondition) ProtoMessage

func (*TemplateInstanceCondition) ProtoMessage()

func (*TemplateInstanceCondition) Reset

func (m *TemplateInstanceCondition) Reset()

func (*TemplateInstanceCondition) Size

func (m *TemplateInstanceCondition) Size() (n int)

func (*TemplateInstanceCondition) String

func (this *TemplateInstanceCondition) String() string

func (TemplateInstanceCondition) SwaggerDoc

func (TemplateInstanceCondition) SwaggerDoc() map[string]string

func (*TemplateInstanceCondition) Unmarshal

func (m *TemplateInstanceCondition) Unmarshal(dAtA []byte) error

type TemplateInstanceConditionType

type TemplateInstanceConditionType string

TemplateInstanceConditionType is the type of condition pertaining to a TemplateInstance.

const (
	// TemplateInstanceReady indicates the readiness of the template
	// instantiation.
	TemplateInstanceReady TemplateInstanceConditionType = "Ready"
	// TemplateInstanceInstantiateFailure indicates the failure of the template
	// instantiation
	TemplateInstanceInstantiateFailure TemplateInstanceConditionType = "InstantiateFailure"
)

func (*TemplateInstanceConditionType) DeepCopy

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

func (*TemplateInstanceConditionType) DeepCopyInto

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

type TemplateInstanceList

type TemplateInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// items is a list of Templateinstances
	Items []TemplateInstance `json:"items" protobuf:"bytes,2,rep,name=items"`
}

TemplateInstanceList is a list of TemplateInstance objects.

func (*TemplateInstanceList) DeepCopy

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

func (*TemplateInstanceList) DeepCopyInto

func (in *TemplateInstanceList) DeepCopyInto(out *TemplateInstanceList)

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

func (*TemplateInstanceList) DeepCopyObject

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

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

func (*TemplateInstanceList) Descriptor

func (*TemplateInstanceList) Descriptor() ([]byte, []int)

func (*TemplateInstanceList) Marshal

func (m *TemplateInstanceList) Marshal() (dAtA []byte, err error)

func (*TemplateInstanceList) MarshalTo

func (m *TemplateInstanceList) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstanceList) ProtoMessage

func (*TemplateInstanceList) ProtoMessage()

func (*TemplateInstanceList) Reset

func (m *TemplateInstanceList) Reset()

func (*TemplateInstanceList) Size

func (m *TemplateInstanceList) Size() (n int)

func (*TemplateInstanceList) String

func (this *TemplateInstanceList) String() string

func (TemplateInstanceList) SwaggerDoc

func (TemplateInstanceList) SwaggerDoc() map[string]string

func (*TemplateInstanceList) Unmarshal

func (m *TemplateInstanceList) Unmarshal(dAtA []byte) error

type TemplateInstanceObject

type TemplateInstanceObject struct {
	// ref is a reference to the created object.  When used under .spec, only
	// name and namespace are used; these can contain references to parameters
	// which will be substituted following the usual rules.
	Ref corev1.ObjectReference `json:"ref,omitempty" protobuf:"bytes,1,opt,name=ref"`
}

TemplateInstanceObject references an object created by a TemplateInstance.

func (*TemplateInstanceObject) DeepCopy

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

func (*TemplateInstanceObject) DeepCopyInto

func (in *TemplateInstanceObject) DeepCopyInto(out *TemplateInstanceObject)

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

func (*TemplateInstanceObject) Descriptor

func (*TemplateInstanceObject) Descriptor() ([]byte, []int)

func (*TemplateInstanceObject) Marshal

func (m *TemplateInstanceObject) Marshal() (dAtA []byte, err error)

func (*TemplateInstanceObject) MarshalTo

func (m *TemplateInstanceObject) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstanceObject) ProtoMessage

func (*TemplateInstanceObject) ProtoMessage()

func (*TemplateInstanceObject) Reset

func (m *TemplateInstanceObject) Reset()

func (*TemplateInstanceObject) Size

func (m *TemplateInstanceObject) Size() (n int)

func (*TemplateInstanceObject) String

func (this *TemplateInstanceObject) String() string

func (TemplateInstanceObject) SwaggerDoc

func (TemplateInstanceObject) SwaggerDoc() map[string]string

func (*TemplateInstanceObject) Unmarshal

func (m *TemplateInstanceObject) Unmarshal(dAtA []byte) error

type TemplateInstanceRequester

type TemplateInstanceRequester struct {
	// username uniquely identifies this user among all active users.
	Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`

	// uid is a unique value that identifies this user across time; if this user is
	// deleted and another user by the same name is added, they will have
	// different UIDs.
	UID string `json:"uid,omitempty" protobuf:"bytes,2,opt,name=uid"`

	// groups represent the groups this user is a part of.
	Groups []string `json:"groups,omitempty" protobuf:"bytes,3,rep,name=groups"`

	// extra holds additional information provided by the authenticator.
	Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,4,rep,name=extra"`
}

TemplateInstanceRequester holds the identity of an agent requesting a template instantiation.

func (*TemplateInstanceRequester) DeepCopy

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

func (*TemplateInstanceRequester) DeepCopyInto

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

func (*TemplateInstanceRequester) Descriptor

func (*TemplateInstanceRequester) Descriptor() ([]byte, []int)

func (*TemplateInstanceRequester) Marshal

func (m *TemplateInstanceRequester) Marshal() (dAtA []byte, err error)

func (*TemplateInstanceRequester) MarshalTo

func (m *TemplateInstanceRequester) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstanceRequester) ProtoMessage

func (*TemplateInstanceRequester) ProtoMessage()

func (*TemplateInstanceRequester) Reset

func (m *TemplateInstanceRequester) Reset()

func (*TemplateInstanceRequester) Size

func (m *TemplateInstanceRequester) Size() (n int)

func (*TemplateInstanceRequester) String

func (this *TemplateInstanceRequester) String() string

func (TemplateInstanceRequester) SwaggerDoc

func (TemplateInstanceRequester) SwaggerDoc() map[string]string

func (*TemplateInstanceRequester) Unmarshal

func (m *TemplateInstanceRequester) Unmarshal(dAtA []byte) error

type TemplateInstanceSpec

type TemplateInstanceSpec struct {
	// template is a full copy of the template for instantiation.
	Template Template `json:"template" protobuf:"bytes,1,opt,name=template"`

	// secret is a reference to a Secret object containing the necessary
	// template parameters.
	Secret *corev1.LocalObjectReference `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`

	// requester holds the identity of the agent requesting the template
	// instantiation.
	Requester *TemplateInstanceRequester `json:"requester" protobuf:"bytes,3,opt,name=requester"`
}

TemplateInstanceSpec describes the desired state of a TemplateInstance.

func (*TemplateInstanceSpec) DeepCopy

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

func (*TemplateInstanceSpec) DeepCopyInto

func (in *TemplateInstanceSpec) DeepCopyInto(out *TemplateInstanceSpec)

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

func (*TemplateInstanceSpec) Descriptor

func (*TemplateInstanceSpec) Descriptor() ([]byte, []int)

func (*TemplateInstanceSpec) Marshal

func (m *TemplateInstanceSpec) Marshal() (dAtA []byte, err error)

func (*TemplateInstanceSpec) MarshalTo

func (m *TemplateInstanceSpec) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstanceSpec) ProtoMessage

func (*TemplateInstanceSpec) ProtoMessage()

func (*TemplateInstanceSpec) Reset

func (m *TemplateInstanceSpec) Reset()

func (*TemplateInstanceSpec) Size

func (m *TemplateInstanceSpec) Size() (n int)

func (*TemplateInstanceSpec) String

func (this *TemplateInstanceSpec) String() string

func (TemplateInstanceSpec) SwaggerDoc

func (TemplateInstanceSpec) SwaggerDoc() map[string]string

func (*TemplateInstanceSpec) Unmarshal

func (m *TemplateInstanceSpec) Unmarshal(dAtA []byte) error

type TemplateInstanceStatus

type TemplateInstanceStatus struct {
	// conditions represent the latest available observations of a
	// TemplateInstance's current state.
	Conditions []TemplateInstanceCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`

	// Objects references the objects created by the TemplateInstance.
	Objects []TemplateInstanceObject `json:"objects,omitempty" protobuf:"bytes,2,rep,name=objects"`
}

TemplateInstanceStatus describes the current state of a TemplateInstance.

func (*TemplateInstanceStatus) DeepCopy

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

func (*TemplateInstanceStatus) DeepCopyInto

func (in *TemplateInstanceStatus) DeepCopyInto(out *TemplateInstanceStatus)

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

func (*TemplateInstanceStatus) Descriptor

func (*TemplateInstanceStatus) Descriptor() ([]byte, []int)

func (*TemplateInstanceStatus) Marshal

func (m *TemplateInstanceStatus) Marshal() (dAtA []byte, err error)

func (*TemplateInstanceStatus) MarshalTo

func (m *TemplateInstanceStatus) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstanceStatus) ProtoMessage

func (*TemplateInstanceStatus) ProtoMessage()

func (*TemplateInstanceStatus) Reset

func (m *TemplateInstanceStatus) Reset()

func (*TemplateInstanceStatus) Size

func (m *TemplateInstanceStatus) Size() (n int)

func (*TemplateInstanceStatus) String

func (this *TemplateInstanceStatus) String() string

func (TemplateInstanceStatus) SwaggerDoc

func (TemplateInstanceStatus) SwaggerDoc() map[string]string

func (*TemplateInstanceStatus) Unmarshal

func (m *TemplateInstanceStatus) Unmarshal(dAtA []byte) error

type TemplateList

type TemplateList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of templates
	Items []Template `json:"items" protobuf:"bytes,2,rep,name=items"`
}

TemplateList is a list of Template objects.

func (*TemplateList) DeepCopy

func (in *TemplateList) DeepCopy() *TemplateList

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

func (*TemplateList) DeepCopyInto

func (in *TemplateList) DeepCopyInto(out *TemplateList)

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

func (*TemplateList) DeepCopyObject

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

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

func (*TemplateList) Descriptor

func (*TemplateList) Descriptor() ([]byte, []int)

func (*TemplateList) Marshal

func (m *TemplateList) Marshal() (dAtA []byte, err error)

func (*TemplateList) MarshalTo

func (m *TemplateList) MarshalTo(dAtA []byte) (int, error)

func (*TemplateList) ProtoMessage

func (*TemplateList) ProtoMessage()

func (*TemplateList) Reset

func (m *TemplateList) Reset()

func (*TemplateList) Size

func (m *TemplateList) Size() (n int)

func (*TemplateList) String

func (this *TemplateList) String() string

func (TemplateList) SwaggerDoc

func (TemplateList) SwaggerDoc() map[string]string

func (*TemplateList) Unmarshal

func (m *TemplateList) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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