istio

package
v0.0.0-...-7995a24 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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