Documentation
¶
Overview ¶
package api contains the definitions of the struct for the miactl configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct { ClientID string `yaml:"client-id,omitempty"` //nolint:tagliatelle ClientSecret string `yaml:"client-secret,omitempty"` //nolint:tagliatelle JWTKeyID string `yaml:"key-id,omitempty"` //nolint:tagliatelle JWTPrivateKeyData string `yaml:"private-key-data,omitempty"` //nolint:tagliatelle }
func (*AuthConfig) DeepCopy ¶
func (in *AuthConfig) DeepCopy() *AuthConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthConfig.
func (*AuthConfig) DeepCopyInto ¶
func (in *AuthConfig) DeepCopyInto(out *AuthConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶
type Config struct { Contexts map[string]*ContextConfig `yaml:"contexts"` CurrentContext string `yaml:"current-context"` //nolint:tagliatelle Auth map[string]*AuthConfig `yaml:"credentials"` //nolint:tagliatelle }
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContextConfig ¶
type ContextConfig struct { Endpoint string `yaml:"endpoint"` CertificateAuthority string `yaml:"certificate-authority,omitempty"` //nolint:tagliatelle InsecureSkipTLSVerify bool `yaml:"insecure-skip-tls-verify,omitempty"` //nolint:tagliatelle CompanyID string `yaml:"company-id,omitempty"` //nolint:tagliatelle ProjectID string `yaml:"project-id,omitempty"` //nolint:tagliatelle AuthName string `yaml:"credential,omitempty"` //nolint:tagliatelle Environment string `yaml:"environment,omitempty"` }
func (*ContextConfig) DeepCopy ¶
func (in *ContextConfig) DeepCopy() *ContextConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContextConfig.
func (*ContextConfig) DeepCopyInto ¶
func (in *ContextConfig) DeepCopyInto(out *ContextConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.