Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KubeDeploymentTemplate string = `` /* 1697-byte string literal not displayed */
View Source
var KubeServiceTemplate string = `` /* 624-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type KubeDeploymentInfo ¶
type KubeDeploymentInfo struct { Opts *option.Options Namespace string Project string Version string ImagePath string ContainerPort string }
KubeDeploymentInfo represents kubernetes deployment information
func NewKubeDeploymentInfo ¶
func NewKubeDeploymentInfo(opts ...option.Option) *KubeDeploymentInfo
NewKubeDeploymentInfo returns a new KubeDeploymentInfo pointer
func (*KubeDeploymentInfo) RenderFile ¶
func (info *KubeDeploymentInfo) RenderFile(outputPath string) error
RenderFile render template and output to file
type KubeServiceInfo ¶
type KubeServiceInfo struct { Opts *option.Options Namespace string Project string Type string // grpc or http Port string TargetPort string }
KubeServiceInfo represents kubernetes service information
func NewKubeServiceInfo ¶
func NewKubeServiceInfo(opts ...option.Option) *KubeServiceInfo
NewKubeServiceInfo returns a new KubeServiceInfo pointer
func (*KubeServiceInfo) RenderFile ¶
func (info *KubeServiceInfo) RenderFile(outputPath string) error
RenderFile render template and output to file
Click to show internal directories.
Click to hide internal directories.