Documentation
¶
Index ¶
- Variables
- type Application
- func (in *Application) DeepCopy() *Application
- func (in *Application) DeepCopyInterface() interface{}
- func (in *Application) DeepCopyInto(out *Application)
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetCluster() string
- func (x *Application) GetDetails() *Details
- func (x *Application) GetName() string
- func (x *Application) GetNamespace() string
- func (x *Application) GetPlugins() []*proto1.Plugin
- func (x *Application) GetResources() []*Resources
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type Details
- func (in *Details) DeepCopy() *Details
- func (in *Details) DeepCopyInterface() interface{}
- func (in *Details) DeepCopyInto(out *Details)
- func (*Details) Descriptor() ([]byte, []int)deprecated
- func (x *Details) GetDescription() string
- func (x *Details) GetLinks() []*Link
- func (x *Details) GetPlugin() *proto1.Plugin
- func (*Details) ProtoMessage()
- func (x *Details) ProtoReflect() protoreflect.Message
- func (x *Details) Reset()
- func (x *Details) String() string
- type Link
- func (in *Link) DeepCopy() *Link
- func (in *Link) DeepCopyInterface() interface{}
- func (in *Link) DeepCopyInto(out *Link)
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetLink() string
- func (x *Link) GetTitle() string
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- type Resources
- func (in *Resources) DeepCopy() *Resources
- func (in *Resources) DeepCopyInterface() interface{}
- func (in *Resources) DeepCopyInto(out *Resources)
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetKinds() []string
- func (x *Resources) GetSelector() string
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (x *Resources) String() string
Constants ¶
This section is empty.
Variables ¶
var File_application_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Details *Details `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` Resources []*Resources `protobuf:"bytes,5,rep,name=resources,proto3" json:"resources,omitempty"` Plugins []*proto1.Plugin `protobuf:"bytes,6,rep,name=plugins,proto3" json:"plugins,omitempty"` // contains filtered or unexported fields }
Application is the specification for an application. This specification is also used for the Kubernetes CRD as ApplicationSpec. This is also the reason why we use istio.io/tools/cmd/protoc-gen-deepcopy within the code generation, to generate the deepcopy function, which are required to use the Application within a CRD. Each Application contains a cluster, namespace and name, which are automitic determinded, when the Application is retrieved from the Kubernetes API.
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application. Required by controller-gen.
func (*Application) DeepCopyInterface ¶
func (in *Application) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Application. Required by controller-gen.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto supports using Application within kubernetes types, where deepcopy-gen is used.
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetCluster ¶
func (x *Application) GetCluster() string
func (*Application) GetDetails ¶
func (x *Application) GetDetails() *Details
func (*Application) GetName ¶
func (x *Application) GetName() string
func (*Application) GetNamespace ¶
func (x *Application) GetNamespace() string
func (*Application) GetPlugins ¶
func (x *Application) GetPlugins() []*proto1.Plugin
func (*Application) GetResources ¶
func (x *Application) GetResources() []*Resources
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type Details ¶
type Details struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` Plugin *proto1.Plugin `protobuf:"bytes,3,opt,name=plugin,proto3" json:"plugin,omitempty"` // contains filtered or unexported fields }
Details contains some details for the Application, which are set by the user in the Custom Resource. Each Application can contain a description and a list of links.
func (*Details) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Details. Required by controller-gen.
func (*Details) DeepCopyInterface ¶
func (in *Details) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Details. Required by controller-gen.
func (*Details) DeepCopyInto ¶
DeepCopyInto supports using Details within kubernetes types, where deepcopy-gen is used.
func (*Details) Descriptor
deprecated
func (*Details) GetDescription ¶
func (*Details) ProtoMessage ¶
func (*Details) ProtoMessage()
func (*Details) ProtoReflect ¶
func (x *Details) ProtoReflect() protoreflect.Message
type Link ¶
type Link struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
Link is the format of a link, which can be provided within an Application. A link consists of a title, which is displayed in the frontend and the link, which is used within the href attribute (title=Example, link=https://example.com).
func (*Link) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link. Required by controller-gen.
func (*Link) DeepCopyInterface ¶
func (in *Link) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Link. Required by controller-gen.
func (*Link) DeepCopyInto ¶
DeepCopyInto supports using Link within kubernetes types, where deepcopy-gen is used.
func (*Link) Descriptor
deprecated
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Resources ¶
type Resources struct { Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"` Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // contains filtered or unexported fields }
Resources is a list of resources, which can be associated with the Application. For each selector (e.g. app=prometheus) a list of resources can be specified. These kinds are the plural of the standard Kubernetes resources (e.g. pods, cronjobs. deployments, ...) or for CRDs resource.path (e.g. vaultsecrets.ricoberger.de/v1alpha1).
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources. Required by controller-gen.
func (*Resources) DeepCopyInterface ¶
func (in *Resources) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Resources. Required by controller-gen.
func (*Resources) DeepCopyInto ¶
DeepCopyInto supports using Resources within kubernetes types, where deepcopy-gen is used.
func (*Resources) Descriptor
deprecated
func (*Resources) GetSelector ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message