Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IstioDestinationRuleTemplate string = `` /* 1012-byte string literal not displayed */
View Source
var IstioVirtualServiceTemplate string = `` /* 1654-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type IstioDestinationRuleInfo ¶
type IstioDestinationRuleInfo struct { Opts *option.Options Namespace string Project string Version string }
IstioDestinationRuleInfo represents istio destination rule information
func NewIstioDestinationRuleInfo ¶
func NewIstioDestinationRuleInfo(opts ...option.Option) *IstioDestinationRuleInfo
NewIstioDestinationRuleInfo returns a new IstioDestinationRuleInfo pointer
func (*IstioDestinationRuleInfo) RenderFile ¶
func (info *IstioDestinationRuleInfo) RenderFile(outputPath string) error
RenderFile render template and output to file
type IstioVirtaulServiceInfo ¶
type IstioVirtaulServiceInfo struct { Opts *option.Options Project string Namespace string Version string Port string }
IstioVirtaulServiceInfo represents istio virtual-service information
func NewIstioVirtaulServiceInfo ¶
func NewIstioVirtaulServiceInfo(opts ...option.Option) *IstioVirtaulServiceInfo
NewIstioVirtaulServiceInfo returns a new IstioVirtaulServiceInfo pointer
func (*IstioVirtaulServiceInfo) RenderFile ¶
func (info *IstioVirtaulServiceInfo) RenderFile(outputPath string) error
RenderFile render template and output to file
Click to show internal directories.
Click to hide internal directories.