Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KubernetesConfig ¶
func KubernetesConfig(name string) go_hook.KubernetesConfig
Types ¶
type DeploymentStatus ¶
type InclusterProxyConfig ¶
type InclusterProxyConfig struct {
CACert string `json:"ca" yaml:"ca"`
AuthCert string `json:"auth_cert" yaml:"auth_cert"`
AuthKey string `json:"auth_key" yaml:"auth_key"`
TokenCert string `json:"token_cert" yaml:"token_cert"`
TokenKey string `json:"token_key" yaml:"token_key"`
DistributionCert string `json:"distribution_cert" yaml:"distribution_cert"`
DistributionKey string `json:"distribution_key" yaml:"distribution_key"`
HTTPSecret string `json:"http_secret" yaml:"http_secret"`
Upstream UpstreamRegistryConfig `json:"upstream" yaml:"upstream"`
}
type Inputs ¶
type Inputs = DeploymentStatus
type ProcessResult ¶
type State ¶
type State struct {
Config *StateConfig `json:"config,omitempty"`
}
func (*State) Stop ¶
func (state *State) Stop(inputs Inputs) StopResult
type StateConfig ¶
type StateConfig struct {
Version string `json:"version,omitempty"`
Config InclusterProxyConfig `json:"config,omitempty"`
}
type StopResult ¶
type UpstreamParams ¶
type UpstreamRegistryConfig ¶
type UpstreamRegistryConfig struct {
Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"`
Host string `json:"host,omitempty" yaml:"host,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
User users.User `json:"user,omitempty" yaml:"user,omitempty"`
CACert string `json:"ca,omitempty" yaml:"ca,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.