Documentation
¶
Index ¶
- Variables
- type Template
- func (in *Template) DeepCopy() *Template
- func (in *Template) DeepCopyInterface() interface{}
- func (in *Template) DeepCopyInto(out *Template)
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetDescription() string
- func (x *Template) GetName() string
- func (x *Template) GetPlugin() *proto1.Plugin
- func (x *Template) GetVariables() []*Variable
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type Variable
- func (in *Variable) DeepCopy() *Variable
- func (in *Variable) DeepCopyInterface() interface{}
- func (in *Variable) DeepCopyInto(out *Variable)
- func (*Variable) Descriptor() ([]byte, []int)deprecated
- func (x *Variable) GetDescription() string
- func (x *Variable) GetName() string
- func (*Variable) ProtoMessage()
- func (x *Variable) ProtoReflect() protoreflect.Message
- func (x *Variable) Reset()
- func (x *Variable) String() string
Constants ¶
This section is empty.
Variables ¶
var File_template_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Variables []*Variable `protobuf:"bytes,3,rep,name=variables,proto3" json:"variables,omitempty"`
Plugin *proto1.Plugin `protobuf:"bytes,4,opt,name=plugin,proto3" json:"plugin,omitempty"`
// contains filtered or unexported fields
}
Template is used as spec for the Template CRD. A template can be used to define a template for a plugin. These templates can then be reused for similar resources. For example if a user uses Istio in a cluster a template for the Istio metrics can be defined and reused for every service.
func (*Template) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template. Required by controller-gen.
func (*Template) DeepCopyInterface ¶
func (in *Template) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Template. Required by controller-gen.
func (*Template) DeepCopyInto ¶
DeepCopyInto supports using Template within kubernetes types, where deepcopy-gen is used.
func (*Template) Descriptor
deprecated
func (*Template) GetDescription ¶
func (*Template) GetVariables ¶
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
type Variable ¶
type Variable struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
Variable can be used to describe a used variable in a template. So that a user knows, what variables he can provide, when he uses a template.
func (*Variable) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable. Required by controller-gen.
func (*Variable) DeepCopyInterface ¶
func (in *Variable) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Variable. Required by controller-gen.
func (*Variable) DeepCopyInto ¶
DeepCopyInto supports using Variable within kubernetes types, where deepcopy-gen is used.
func (*Variable) Descriptor
deprecated
func (*Variable) GetDescription ¶
func (*Variable) ProtoMessage ¶
func (*Variable) ProtoMessage()
func (*Variable) ProtoReflect ¶
func (x *Variable) ProtoReflect() protoreflect.Message