proto

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func (in *Template) DeepCopy() *Template

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

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

DeepCopyInto supports using Template within kubernetes types, where deepcopy-gen is used.

func (*Template) Descriptor deprecated

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

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetDescription

func (x *Template) GetDescription() string

func (*Template) GetName

func (x *Template) GetName() string

func (*Template) GetPlugin

func (x *Template) GetPlugin() *proto1.Plugin

func (*Template) GetVariables

func (x *Template) GetVariables() []*Variable

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) ProtoReflect

func (x *Template) ProtoReflect() protoreflect.Message

func (*Template) Reset

func (x *Template) Reset()

func (*Template) String

func (x *Template) String() string

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

func (in *Variable) DeepCopy() *Variable

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

func (in *Variable) DeepCopyInto(out *Variable)

DeepCopyInto supports using Variable within kubernetes types, where deepcopy-gen is used.

func (*Variable) Descriptor deprecated

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

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetDescription

func (x *Variable) GetDescription() string

func (*Variable) GetName

func (x *Variable) GetName() string

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect

func (x *Variable) ProtoReflect() protoreflect.Message

func (*Variable) Reset

func (x *Variable) Reset()

func (*Variable) String

func (x *Variable) String() string

Jump to

Keyboard shortcuts

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