Documentation ¶
Index ¶
- Constants
- type AcmeExternalAccountBinding
- type AcmeProvider
- type AcmeRegistry
- func (r AcmeRegistry) GetProviderByName(name string) (AcmeProvider, error)
- func (r AcmeRegistry) GetProviderNames() []string
- func (r AcmeRegistry) GetServiceByName(name string) (AcmeService, error)
- func (r AcmeRegistry) GetServiceNames() []string
- func (r AcmeRegistry) GetTransformConfig() cryptostruct.TransformConfig
- func (r AcmeRegistry) GetUserByName(name string) (AcmeUser, error)
- func (r AcmeRegistry) GetUserNames() []string
- type AcmeService
- type AcmeUser
- type AcmeVariable
- type CertificatePassphrase
- type CertificateRegistry
- func (r CertificateRegistry) AddPassphrase(passphrase CertificatePassphrase) CertificateRegistry
- func (r CertificateRegistry) GetPassphraseByName(name string) (CertificatePassphrase, error)
- func (r CertificateRegistry) GetPassphraseNames() []string
- func (r CertificateRegistry) GetTransformConfig() cryptostruct.TransformConfig
- type ItemNotFoundError
- type MachinesRegistry
- type MailRegistry
- type NetScalerAdcCredential
- type NetScalerAdcEnvironment
- func (e NetScalerAdcEnvironment) GetCredentialByName(name string) (NetScalerAdcCredential, error)
- func (e NetScalerAdcEnvironment) GetManagementClient(credential NetScalerAdcCredential) (*nitro.Client, error)
- func (e NetScalerAdcEnvironment) GetNodeNames() []string
- func (e NetScalerAdcEnvironment) GetNodeNitroClient(nodeName string, credential NetScalerAdcCredential) (*nitro.Client, error)
- func (e NetScalerAdcEnvironment) GetNodeScpClient(nodeName string, credential NetScalerAdcCredential, f ssh.HostKeyCallback) (scp.Client, error)
- func (e NetScalerAdcEnvironment) GetNodes() []NetScalerAdcNode
- func (e NetScalerAdcEnvironment) GetPrimaryClient(credential NetScalerAdcCredential) (*nitro.Client, error)
- func (e NetScalerAdcEnvironment) GetTransformConfig() cryptostruct.TransformConfig
- func (e NetScalerAdcEnvironment) HasManagement() bool
- func (e NetScalerAdcEnvironment) HasNodes() bool
- type NetScalerAdcNode
- type NetScalerAdcRegistry
- type NetScalerAdcSettings
- type NetScalerRegistry
- type NetScalerSdxRegistry
- type Organization
- type OrganizationRegistry
- type Registry
- type SecureAcmeExternalAccountBinding
- type SecureAcmeProvider
- type SecureAcmeRegistry
- func (s SecureAcmeRegistry) GetCryptoParams() cryptostruct.CryptoParams
- func (s SecureAcmeRegistry) GetProviderByName(name string) (SecureAcmeProvider, error)
- func (s SecureAcmeRegistry) GetProviderNames() []string
- func (s SecureAcmeRegistry) GetServiceByName(name string) (SecureAcmeService, error)
- func (s SecureAcmeRegistry) GetServiceNames() []string
- func (s SecureAcmeRegistry) GetTransformConfig() cryptostruct.TransformConfig
- func (s SecureAcmeRegistry) GetUserByName(name string) (SecureAcmeUser, error)
- func (s SecureAcmeRegistry) GetUserNames() []string
- type SecureAcmeService
- type SecureAcmeUser
- type SecureAcmeVariable
- type SecureCertificatePassphrase
- type SecureCertificateRegistry
- func (s SecureCertificateRegistry) GetCryptoParams() cryptostruct.CryptoParams
- func (r SecureCertificateRegistry) GetPassphraseByName(name string) (SecureCertificatePassphrase, error)
- func (r SecureCertificateRegistry) GetPassphraseNames() []string
- func (s SecureCertificateRegistry) GetTransformConfig() cryptostruct.TransformConfig
- type SecureMachinesRegistry
- type SecureMailRegistry
- type SecureNetScalerAdcCredential
- type SecureNetScalerAdcEnvironment
- type SecureNetScalerAdcNode
- type SecureNetScalerAdcRegistry
- func (s SecureNetScalerAdcRegistry) GetCryptoParams() cryptostruct.CryptoParams
- func (r SecureNetScalerAdcRegistry) GetEnvironmentByName(name string) (SecureNetScalerAdcEnvironment, error)
- func (r SecureNetScalerAdcRegistry) GetEnvironmentNames() []string
- func (s SecureNetScalerAdcRegistry) GetTransformConfig() cryptostruct.TransformConfig
- type SecureNetScalerRegistry
- type SecureNetScalerSdxRegistry
- type SecureOrganization
- type SecureOrganizationRegistry
- type SecureRegistry
- type SecureSmtpAuthentication
- type SecureSmtpServer
- type SmtpAuthentication
- type SmtpServer
Constants ¶
View Source
const (
ErrItemNotFoundMessage = "could not find"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmeExternalAccountBinding ¶
type AcmeExternalAccountBinding struct { Kid string `json:"kid,omitempty" yaml:"kid,omitempty" mapstructure:"kid,omitempty" secure:"true"` Hmac string `json:"hmac,omitempty" yaml:"hmac,omitempty" mapstructure:"hmac,omitempty" secure:"true"` }
func NewAcmeExternalAccountBinding ¶ added in v0.2.1
func NewAcmeExternalAccountBinding(kid string, hmac string) AcmeExternalAccountBinding
func (AcmeExternalAccountBinding) GetTransformConfig ¶
func (e AcmeExternalAccountBinding) GetTransformConfig() cryptostruct.TransformConfig
type AcmeProvider ¶
type AcmeProvider struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Type string `json:"type,omitempty" yaml:"type,omitempty" mapstructure:"type,omitempty" secure:"false"` Challenge string `json:"challenge,omitempty" yaml:"challenge,omitempty" mapstructure:"challenge,omitempty" secure:"false"` Variables []AcmeVariable `json:"variables,omitempty" yaml:"variables,omitempty" mapstructure:"variables,omitempty" secure:"true"` }
func NewAcmeProvider ¶ added in v0.2.1
func NewAcmeProvider(name string, pType string, challenge string, variables []AcmeVariable) AcmeProvider
func (AcmeProvider) AddVariable ¶ added in v0.2.1
func (p AcmeProvider) AddVariable(variable AcmeVariable) AcmeProvider
func (AcmeProvider) ApplyEnvironmentVariables ¶
func (p AcmeProvider) ApplyEnvironmentVariables() error
func (AcmeProvider) GetTransformConfig ¶
func (p AcmeProvider) GetTransformConfig() cryptostruct.TransformConfig
func (AcmeProvider) ResetEnvironmentVariables ¶
func (p AcmeProvider) ResetEnvironmentVariables() error
type AcmeRegistry ¶
type AcmeRegistry struct { Services []AcmeService `json:"services,omitempty" yaml:"services,omitempty" mapstructure:"services,omitempty" secure:"true"` Users []AcmeUser `json:"users,omitempty" yaml:"users,omitempty" mapstructure:"users,omitempty" secure:"true"` Providers []AcmeProvider `json:"providers,omitempty" yaml:"providers,omitempty" mapstructure:"providers,omitempty" secure:"true"` }
func NewAcmeRegistry ¶ added in v0.2.1
func NewAcmeRegistry() AcmeRegistry
func (AcmeRegistry) GetProviderByName ¶
func (r AcmeRegistry) GetProviderByName(name string) (AcmeProvider, error)
func (AcmeRegistry) GetProviderNames ¶
func (r AcmeRegistry) GetProviderNames() []string
func (AcmeRegistry) GetServiceByName ¶
func (r AcmeRegistry) GetServiceByName(name string) (AcmeService, error)
func (AcmeRegistry) GetServiceNames ¶
func (r AcmeRegistry) GetServiceNames() []string
func (AcmeRegistry) GetTransformConfig ¶
func (r AcmeRegistry) GetTransformConfig() cryptostruct.TransformConfig
func (AcmeRegistry) GetUserByName ¶
func (r AcmeRegistry) GetUserByName(name string) (AcmeUser, error)
func (AcmeRegistry) GetUserNames ¶
func (r AcmeRegistry) GetUserNames() []string
type AcmeService ¶
type AcmeService struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Url string `json:"url,omitempty" yaml:"url,omitempty" mapstructure:"url,omitempty" secure:"true"` }
func NewAcmeService ¶ added in v0.2.1
func NewAcmeService(name string, url string) AcmeService
func (AcmeService) GetTransformConfig ¶
func (s AcmeService) GetTransformConfig() cryptostruct.TransformConfig
type AcmeUser ¶
type AcmeUser struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Email string `json:"email,omitempty" yaml:"email,omitempty" mapstructure:"email,omitempty" secure:"true"` ExternalAccountBinding AcmeExternalAccountBinding `json:"eab,omitempty" yaml:"eab,omitempty" mapstructure:"eab,omitempty" secure:"true"` }
func NewAcmeUser ¶ added in v0.2.1
func NewAcmeUser(name string, email string, eab AcmeExternalAccountBinding) AcmeUser
func (AcmeUser) GetTransformConfig ¶
func (u AcmeUser) GetTransformConfig() cryptostruct.TransformConfig
type AcmeVariable ¶
type AcmeVariable struct { Key string `json:"key,omitempty" yaml:"key,omitempty" mapstructure:"key,omitempty" secure:"false"` Value string `json:"value,omitempty" yaml:"value,omitempty" mapstructure:"value,omitempty" secure:"true"` }
func NewAcmeVariable ¶ added in v0.2.1
func NewAcmeVariable(key string, value string) AcmeVariable
func (AcmeVariable) GetTransformConfig ¶
func (v AcmeVariable) GetTransformConfig() cryptostruct.TransformConfig
type CertificatePassphrase ¶
type CertificatePassphrase struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Value string `json:"value,omitempty" yaml:"value,omitempty" mapstructure:"value,omitempty" secure:"true"` }
func NewCertificatePassphrase ¶ added in v0.2.1
func NewCertificatePassphrase(name string, value string) CertificatePassphrase
func (CertificatePassphrase) GetTransformConfig ¶
func (c CertificatePassphrase) GetTransformConfig() cryptostruct.TransformConfig
type CertificateRegistry ¶
type CertificateRegistry struct { Acme AcmeRegistry `json:"acme,omitempty" yaml:"acme,omitempty" mapstructure:"acme,omitempty" secure:"true"` Passphrases []CertificatePassphrase `json:"passphrases,omitempty" yaml:"passphrases,omitempty" mapstructure:"passphrases,omitempty" secure:"true"` }
func NewCertificateRegistry ¶ added in v0.2.1
func NewCertificateRegistry() CertificateRegistry
func (CertificateRegistry) AddPassphrase ¶ added in v0.2.1
func (r CertificateRegistry) AddPassphrase(passphrase CertificatePassphrase) CertificateRegistry
func (CertificateRegistry) GetPassphraseByName ¶
func (r CertificateRegistry) GetPassphraseByName(name string) (CertificatePassphrase, error)
func (CertificateRegistry) GetPassphraseNames ¶
func (r CertificateRegistry) GetPassphraseNames() []string
func (CertificateRegistry) GetTransformConfig ¶
func (r CertificateRegistry) GetTransformConfig() cryptostruct.TransformConfig
type ItemNotFoundError ¶
type ItemNotFoundError struct {
// contains filtered or unexported fields
}
func NewItemNotFoundError ¶
func NewItemNotFoundError(itemType string, name string) ItemNotFoundError
func (ItemNotFoundError) Error ¶
func (e ItemNotFoundError) Error() string
type MachinesRegistry ¶
type MachinesRegistry struct {
NetScaler NetScalerRegistry `json:"netscaler,omitempty" yaml:"netscaler,omitempty" mapstructure:"netscaler,omitempty" secure:"true"`
}
func NewMachinesRegistry ¶ added in v0.2.1
func NewMachinesRegistry() MachinesRegistry
func (MachinesRegistry) GetTransformConfig ¶
func (r MachinesRegistry) GetTransformConfig() cryptostruct.TransformConfig
type MailRegistry ¶ added in v0.2.3
type MailRegistry struct {
SmtpServers []SmtpServer `json:"smtpServers,omitempty" yaml:"smtpServers,omitempty" mapstructure:"smtpServers,omitempty" secure:"true"`
}
func NewMailRegistry ¶ added in v0.2.3
func NewMailRegistry() MailRegistry
func (MailRegistry) GetSmtpServerByName ¶ added in v0.2.3
func (r MailRegistry) GetSmtpServerByName(name string) (SmtpServer, error)
func (MailRegistry) GetTransformConfig ¶ added in v0.2.3
func (r MailRegistry) GetTransformConfig() cryptostruct.TransformConfig
type NetScalerAdcCredential ¶
type NetScalerAdcCredential struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Username string `json:"username,omitempty" yaml:"username,omitempty" mapstructure:"username,omitempty" secure:"true"` Password string `json:"password,omitempty" yaml:"password,omitempty" mapstructure:"password,omitempty" secure:"true"` }
func NewNetScalerAdcCredential ¶ added in v0.2.1
func NewNetScalerAdcCredential(name string, username string, password string) NetScalerAdcCredential
func (NetScalerAdcCredential) GetTransformConfig ¶
func (c NetScalerAdcCredential) GetTransformConfig() cryptostruct.TransformConfig
type NetScalerAdcEnvironment ¶
type NetScalerAdcEnvironment struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` // Target environment name, such as "Production" Management NetScalerAdcNode `json:"management,omitempty" yaml:"management,omitempty" mapstructure:"management,omitempty" secure:"true"` // Connection details for the Management Address (SNIP / Cluster IP) of the environment Nodes []NetScalerAdcNode `json:"nodes,omitempty" yaml:"nodes,omitempty" mapstructure:"nodes,omitempty" secure:"true"` // Connection details for the individual Nodes of each node Credentials []NetScalerAdcCredential `json:"credentials,omitempty" yaml:"credentials,omitempty" mapstructure:"credentials,omitempty" secure:"true"` // Connection credentials Settings NetScalerAdcSettings `json:"settings,omitempty" yaml:"settings,omitempty" mapstructure:"settings,omitempty" secure:"false"` // Connection settings for Nitro Client }
func (NetScalerAdcEnvironment) GetCredentialByName ¶
func (e NetScalerAdcEnvironment) GetCredentialByName(name string) (NetScalerAdcCredential, error)
func (NetScalerAdcEnvironment) GetManagementClient ¶
func (e NetScalerAdcEnvironment) GetManagementClient(credential NetScalerAdcCredential) (*nitro.Client, error)
func (NetScalerAdcEnvironment) GetNodeNames ¶
func (e NetScalerAdcEnvironment) GetNodeNames() []string
func (NetScalerAdcEnvironment) GetNodeNitroClient ¶
func (e NetScalerAdcEnvironment) GetNodeNitroClient(nodeName string, credential NetScalerAdcCredential) (*nitro.Client, error)
func (NetScalerAdcEnvironment) GetNodeScpClient ¶
func (e NetScalerAdcEnvironment) GetNodeScpClient(nodeName string, credential NetScalerAdcCredential, f ssh.HostKeyCallback) (scp.Client, error)
func (NetScalerAdcEnvironment) GetNodes ¶
func (e NetScalerAdcEnvironment) GetNodes() []NetScalerAdcNode
func (NetScalerAdcEnvironment) GetPrimaryClient ¶
func (e NetScalerAdcEnvironment) GetPrimaryClient(credential NetScalerAdcCredential) (*nitro.Client, error)
func (NetScalerAdcEnvironment) GetTransformConfig ¶
func (e NetScalerAdcEnvironment) GetTransformConfig() cryptostruct.TransformConfig
func (NetScalerAdcEnvironment) HasManagement ¶
func (e NetScalerAdcEnvironment) HasManagement() bool
func (NetScalerAdcEnvironment) HasNodes ¶
func (e NetScalerAdcEnvironment) HasNodes() bool
type NetScalerAdcNode ¶
type NetScalerAdcNode struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Address string `json:"address,omitempty" yaml:"address,omitempty" mapstructure:"address,omitempty" secure:"true"` }
func NewNetScalerAdcNode ¶ added in v0.2.1
func NewNetScalerAdcNode(name string, address string) NetScalerAdcNode
func (NetScalerAdcNode) GetTransformConfig ¶
func (n NetScalerAdcNode) GetTransformConfig() cryptostruct.TransformConfig
type NetScalerAdcRegistry ¶
type NetScalerAdcRegistry struct {
Environments []NetScalerAdcEnvironment `json:"environments,omitempty" yaml:"environments,omitempty" mapstructure:"environments,omitempty" secure:"true"`
}
func NewNetScalerAdcRegistry ¶ added in v0.2.1
func NewNetScalerAdcRegistry() NetScalerAdcRegistry
func (NetScalerAdcRegistry) GetEnvironmentByName ¶
func (r NetScalerAdcRegistry) GetEnvironmentByName(name string) (NetScalerAdcEnvironment, error)
func (NetScalerAdcRegistry) GetEnvironmentNames ¶
func (r NetScalerAdcRegistry) GetEnvironmentNames() []string
func (NetScalerAdcRegistry) GetTransformConfig ¶
func (r NetScalerAdcRegistry) GetTransformConfig() cryptostruct.TransformConfig
type NetScalerAdcSettings ¶
type NetScalerAdcSettings struct { UseSsl bool `json:"useSsl,omitempty" yaml:"useSsl,omitempty" mapstructure:"useSsl,omitempty"` Timeout int `json:"timeout,omitempty" yaml:"timeout,omitempty" mapstructure:"timeout,omitempty"` UserAgent string `json:"userAgent,omitempty" yaml:"userAgent,omitempty" mapstructure:"userAgent,omitempty"` ValidateServerCertificate bool `` /* 136-byte string literal not displayed */ LogTlsSecrets bool `json:"logTlsSecrets,omitempty" yaml:"logTlsSecrets,omitempty" mapstructure:"logTlsSecrets,omitempty"` LogTlsSecretsDestination string `` /* 133-byte string literal not displayed */ AutoLogin bool `json:"autoLogin,omitempty" yaml:"autoLogin,omitempty" mapstructure:"autoLogin,omitempty"` }
NetScalerAdcSettings TODO - Remove UserAgent, AutoLogin, Timeout??
func NewDefaultNetScalerAdcSettings ¶ added in v0.2.1
func NewDefaultNetScalerAdcSettings() NetScalerAdcSettings
type NetScalerRegistry ¶
type NetScalerRegistry struct { Adc NetScalerAdcRegistry `json:"adc,omitempty" yaml:"adc,omitempty" mapstructure:"adc,omitempty" secure:"true"` Sdx NetScalerSdxRegistry `json:"sdx,omitempty" yaml:"sdx,omitempty" mapstructure:"sdx,omitempty" secure:"true"` }
func NewNetScalerRegistry ¶ added in v0.2.1
func NewNetScalerRegistry() NetScalerRegistry
func (NetScalerRegistry) GetTransformConfig ¶
func (r NetScalerRegistry) GetTransformConfig() cryptostruct.TransformConfig
type NetScalerSdxRegistry ¶
type NetScalerSdxRegistry struct { }
func NewNetScalerSdxRegistry ¶ added in v0.2.1
func NewNetScalerSdxRegistry() NetScalerSdxRegistry
func (NetScalerSdxRegistry) GetTransformConfig ¶
func (r NetScalerSdxRegistry) GetTransformConfig() cryptostruct.TransformConfig
type Organization ¶
type Organization struct { Name string `json:"name" yaml:"name" mapstructure:"name" secure:"false"` Registry OrganizationRegistry `json:"registry,omitempty" yaml:"registry,omitempty" mapstructure:"registry,omitempty" secure:"true"` }
func NewOrganization ¶ added in v0.2.1
func NewOrganization(name string) Organization
func (Organization) GetTransformConfig ¶
func (o Organization) GetTransformConfig() cryptostruct.TransformConfig
type OrganizationRegistry ¶
type OrganizationRegistry struct { Machines MachinesRegistry `json:"machines,omitempty" yaml:"machines,omitempty" mapstructure:"machines,omitempty" secure:"true"` Certificates CertificateRegistry `json:"certificates,omitempty" yaml:"certificates,omitempty" mapstructure:"certificates,omitempty" secure:"true"` Mail MailRegistry `json:"mail,omitempty" yaml:"mail,omitempty" mapstructure:"mail,omitempty" secure:"true"` }
func NewOrganizationRegistry ¶ added in v0.2.1
func NewOrganizationRegistry() OrganizationRegistry
func (OrganizationRegistry) GetTransformConfig ¶
func (c OrganizationRegistry) GetTransformConfig() cryptostruct.TransformConfig
type Registry ¶
type Registry struct {
Organizations []Organization `json:"organizations,omitempty" yaml:"organizations,omitempty" mapstructure:"organizations,omitempty" secure:"true"`
}
func NewEmptyRegistry ¶
func NewEmptyRegistry() Registry
func NewExampleRegistry ¶ added in v0.2.1
func NewExampleRegistry() Registry
func (Registry) GetOrganizationByName ¶ added in v0.2.1
func (r Registry) GetOrganizationByName(name string) (Organization, error)
func (Registry) GetOrganizationNames ¶ added in v0.2.1
func (Registry) GetTransformConfig ¶
func (o Registry) GetTransformConfig() cryptostruct.TransformConfig
type SecureAcmeExternalAccountBinding ¶
type SecureAcmeExternalAccountBinding struct { Kid string `json:"kid,omitempty" yaml:"kid,omitempty" mapstructure:"kid,omitempty" secure:"true"` Hmac string `json:"hmac,omitempty" yaml:"hmac,omitempty" mapstructure:"hmac,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureAcmeExternalAccountBinding) Decrypt ¶
func (s SecureAcmeExternalAccountBinding) Decrypt(key string) (AcmeExternalAccountBinding, error)
func (SecureAcmeExternalAccountBinding) GetCryptoParams ¶
func (s SecureAcmeExternalAccountBinding) GetCryptoParams() cryptostruct.CryptoParams
func (SecureAcmeExternalAccountBinding) GetTransformConfig ¶
func (s SecureAcmeExternalAccountBinding) GetTransformConfig() cryptostruct.TransformConfig
type SecureAcmeProvider ¶
type SecureAcmeProvider struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Type string `json:"type,omitempty" yaml:"type,omitempty" mapstructure:"type,omitempty" secure:"false"` Challenge string `json:"challenge,omitempty" yaml:"challenge,omitempty" mapstructure:"challenge,omitempty" secure:"false"` Variables []SecureAcmeVariable `json:"variables,omitempty" yaml:"variables,omitempty" mapstructure:"variables,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureAcmeProvider) ApplyEnvironmentVariables ¶
func (p SecureAcmeProvider) ApplyEnvironmentVariables(key string) error
func (SecureAcmeProvider) GetCryptoParams ¶
func (s SecureAcmeProvider) GetCryptoParams() cryptostruct.CryptoParams
func (SecureAcmeProvider) GetTransformConfig ¶
func (s SecureAcmeProvider) GetTransformConfig() cryptostruct.TransformConfig
func (SecureAcmeProvider) ResetEnvironmentVariables ¶
func (p SecureAcmeProvider) ResetEnvironmentVariables() error
type SecureAcmeRegistry ¶
type SecureAcmeRegistry struct { Services []SecureAcmeService `json:"services,omitempty" yaml:"services,omitempty" mapstructure:"services,omitempty" secure:"true"` Users []SecureAcmeUser `json:"users,omitempty" yaml:"users,omitempty" mapstructure:"users,omitempty" secure:"true"` Providers []SecureAcmeProvider `json:"providers,omitempty" yaml:"providers,omitempty" mapstructure:"providers,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureAcmeRegistry) GetCryptoParams ¶
func (s SecureAcmeRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureAcmeRegistry) GetProviderByName ¶
func (s SecureAcmeRegistry) GetProviderByName(name string) (SecureAcmeProvider, error)
func (SecureAcmeRegistry) GetProviderNames ¶
func (s SecureAcmeRegistry) GetProviderNames() []string
func (SecureAcmeRegistry) GetServiceByName ¶
func (s SecureAcmeRegistry) GetServiceByName(name string) (SecureAcmeService, error)
func (SecureAcmeRegistry) GetServiceNames ¶
func (s SecureAcmeRegistry) GetServiceNames() []string
func (SecureAcmeRegistry) GetTransformConfig ¶
func (s SecureAcmeRegistry) GetTransformConfig() cryptostruct.TransformConfig
func (SecureAcmeRegistry) GetUserByName ¶
func (s SecureAcmeRegistry) GetUserByName(name string) (SecureAcmeUser, error)
func (SecureAcmeRegistry) GetUserNames ¶
func (s SecureAcmeRegistry) GetUserNames() []string
type SecureAcmeService ¶
type SecureAcmeService struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Url string `json:"url,omitempty" yaml:"url,omitempty" mapstructure:"url,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureAcmeService) Decrypt ¶
func (s SecureAcmeService) Decrypt(key string) (AcmeService, error)
func (SecureAcmeService) GetCryptoParams ¶
func (s SecureAcmeService) GetCryptoParams() cryptostruct.CryptoParams
func (SecureAcmeService) GetTransformConfig ¶
func (s SecureAcmeService) GetTransformConfig() cryptostruct.TransformConfig
type SecureAcmeUser ¶
type SecureAcmeUser struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Email string `json:"email,omitempty" yaml:"email,omitempty" mapstructure:"email,omitempty" secure:"true"` ExternalAccountBinding SecureAcmeExternalAccountBinding `json:"eab,omitempty" yaml:"eab,omitempty" mapstructure:"eab,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureAcmeUser) GetCryptoParams ¶
func (s SecureAcmeUser) GetCryptoParams() cryptostruct.CryptoParams
func (SecureAcmeUser) GetTransformConfig ¶
func (s SecureAcmeUser) GetTransformConfig() cryptostruct.TransformConfig
type SecureAcmeVariable ¶
type SecureAcmeVariable struct { Key string `json:"key,omitempty" yaml:"key,omitempty" mapstructure:"key,omitempty" secure:"false"` Value string `json:"value,omitempty" yaml:"value,omitempty" mapstructure:"value,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureAcmeVariable) Decrypt ¶
func (s SecureAcmeVariable) Decrypt(key string) (AcmeVariable, error)
func (SecureAcmeVariable) GetCryptoParams ¶
func (s SecureAcmeVariable) GetCryptoParams() cryptostruct.CryptoParams
func (SecureAcmeVariable) GetTransformConfig ¶
func (s SecureAcmeVariable) GetTransformConfig() cryptostruct.TransformConfig
type SecureCertificatePassphrase ¶
type SecureCertificatePassphrase struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Value string `json:"value,omitempty" yaml:"value,omitempty" mapstructure:"value,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureCertificatePassphrase) Decrypt ¶
func (s SecureCertificatePassphrase) Decrypt(key string) (CertificatePassphrase, error)
func (SecureCertificatePassphrase) GetCryptoParams ¶
func (s SecureCertificatePassphrase) GetCryptoParams() cryptostruct.CryptoParams
func (SecureCertificatePassphrase) GetTransformConfig ¶
func (s SecureCertificatePassphrase) GetTransformConfig() cryptostruct.TransformConfig
type SecureCertificateRegistry ¶
type SecureCertificateRegistry struct { Acme SecureAcmeRegistry `json:"acme,omitempty" yaml:"acme,omitempty" mapstructure:"acme,omitempty" secure:"true"` Passphrases []SecureCertificatePassphrase `json:"passphrases,omitempty" yaml:"passphrases,omitempty" mapstructure:"passphrases,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureCertificateRegistry) GetCryptoParams ¶
func (s SecureCertificateRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureCertificateRegistry) GetPassphraseByName ¶
func (r SecureCertificateRegistry) GetPassphraseByName(name string) (SecureCertificatePassphrase, error)
func (SecureCertificateRegistry) GetPassphraseNames ¶
func (r SecureCertificateRegistry) GetPassphraseNames() []string
func (SecureCertificateRegistry) GetTransformConfig ¶
func (s SecureCertificateRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureMachinesRegistry ¶
type SecureMachinesRegistry struct { NetScaler SecureNetScalerRegistry `json:"netscaler,omitempty" yaml:"netscaler,omitempty" mapstructure:"netscaler,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureMachinesRegistry) GetCryptoParams ¶
func (s SecureMachinesRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureMachinesRegistry) GetTransformConfig ¶
func (s SecureMachinesRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureMailRegistry ¶ added in v0.2.3
type SecureMailRegistry struct { SmtpServers []SecureSmtpServer `json:"smtpServers,omitempty" yaml:"smtpServers,omitempty" mapstructure:"smtpServers,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureMailRegistry) GetCryptoParams ¶ added in v0.2.3
func (s SecureMailRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureMailRegistry) GetSmtpServerByName ¶ added in v0.2.3
func (r SecureMailRegistry) GetSmtpServerByName(name string) (SecureSmtpServer, error)
func (SecureMailRegistry) GetTransformConfig ¶ added in v0.2.3
func (s SecureMailRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureNetScalerAdcCredential ¶
type SecureNetScalerAdcCredential struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Username string `json:"username,omitempty" yaml:"username,omitempty" mapstructure:"username,omitempty" secure:"true"` Password string `json:"password,omitempty" yaml:"password,omitempty" mapstructure:"password,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureNetScalerAdcCredential) Decrypt ¶
func (s SecureNetScalerAdcCredential) Decrypt(key string) (NetScalerAdcCredential, error)
func (SecureNetScalerAdcCredential) GetCryptoParams ¶
func (s SecureNetScalerAdcCredential) GetCryptoParams() cryptostruct.CryptoParams
func (SecureNetScalerAdcCredential) GetTransformConfig ¶
func (s SecureNetScalerAdcCredential) GetTransformConfig() cryptostruct.TransformConfig
type SecureNetScalerAdcEnvironment ¶
type SecureNetScalerAdcEnvironment struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` // Target environment name, such as "Production" Management SecureNetScalerAdcNode `json:"management,omitempty" yaml:"management,omitempty" mapstructure:"management,omitempty" secure:"true"` // Connection details for the Management Address (SNIP / Cluster IP) of the environment Nodes []SecureNetScalerAdcNode `json:"nodes,omitempty" yaml:"nodes,omitempty" mapstructure:"nodes,omitempty" secure:"true"` // Connection details for the individual Nodes of each node Credentials []SecureNetScalerAdcCredential `json:"credentials,omitempty" yaml:"credentials,omitempty" mapstructure:"credentials,omitempty" secure:"true"` // Connection credentials Settings NetScalerAdcSettings `json:"settings,omitempty" yaml:"settings,omitempty" mapstructure:"settings,omitempty" secure:"false"` // Connection settings for Nitro Client CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureNetScalerAdcEnvironment) GetCredentialByName ¶ added in v0.2.1
func (e SecureNetScalerAdcEnvironment) GetCredentialByName(name string) (SecureNetScalerAdcCredential, error)
func (SecureNetScalerAdcEnvironment) GetCryptoParams ¶
func (s SecureNetScalerAdcEnvironment) GetCryptoParams() cryptostruct.CryptoParams
func (SecureNetScalerAdcEnvironment) GetTransformConfig ¶
func (s SecureNetScalerAdcEnvironment) GetTransformConfig() cryptostruct.TransformConfig
type SecureNetScalerAdcNode ¶
type SecureNetScalerAdcNode struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Address string `json:"address,omitempty" yaml:"address,omitempty" mapstructure:"address,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureNetScalerAdcNode) Decrypt ¶
func (s SecureNetScalerAdcNode) Decrypt(key string) (NetScalerAdcNode, error)
func (SecureNetScalerAdcNode) GetCryptoParams ¶
func (s SecureNetScalerAdcNode) GetCryptoParams() cryptostruct.CryptoParams
func (SecureNetScalerAdcNode) GetTransformConfig ¶
func (s SecureNetScalerAdcNode) GetTransformConfig() cryptostruct.TransformConfig
type SecureNetScalerAdcRegistry ¶
type SecureNetScalerAdcRegistry struct { Environments []SecureNetScalerAdcEnvironment `json:"environments,omitempty" yaml:"environments,omitempty" mapstructure:"environments,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureNetScalerAdcRegistry) GetCryptoParams ¶
func (s SecureNetScalerAdcRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureNetScalerAdcRegistry) GetEnvironmentByName ¶
func (r SecureNetScalerAdcRegistry) GetEnvironmentByName(name string) (SecureNetScalerAdcEnvironment, error)
func (SecureNetScalerAdcRegistry) GetEnvironmentNames ¶
func (r SecureNetScalerAdcRegistry) GetEnvironmentNames() []string
func (SecureNetScalerAdcRegistry) GetTransformConfig ¶
func (s SecureNetScalerAdcRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureNetScalerRegistry ¶
type SecureNetScalerRegistry struct { Adc SecureNetScalerAdcRegistry `json:"adc,omitempty" yaml:"adc,omitempty" mapstructure:"adc,omitempty" secure:"true"` Sdx SecureNetScalerSdxRegistry `json:"sdx,omitempty" yaml:"sdx,omitempty" mapstructure:"sdx,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureNetScalerRegistry) GetCryptoParams ¶
func (s SecureNetScalerRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureNetScalerRegistry) GetTransformConfig ¶
func (s SecureNetScalerRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureNetScalerSdxRegistry ¶
type SecureNetScalerSdxRegistry struct {
CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"`
}
func (SecureNetScalerSdxRegistry) GetCryptoParams ¶
func (s SecureNetScalerSdxRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureNetScalerSdxRegistry) GetTransformConfig ¶
func (s SecureNetScalerSdxRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureOrganization ¶
type SecureOrganization struct { Name string `json:"name" yaml:"name" mapstructure:"name" secure:"false"` Registry SecureOrganizationRegistry `json:"registry,omitempty" yaml:"registry,omitempty" mapstructure:"registry,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureOrganization) GetCryptoParams ¶
func (s SecureOrganization) GetCryptoParams() cryptostruct.CryptoParams
func (SecureOrganization) GetTransformConfig ¶
func (s SecureOrganization) GetTransformConfig() cryptostruct.TransformConfig
type SecureOrganizationRegistry ¶
type SecureOrganizationRegistry struct { Machines SecureMachinesRegistry `json:"machines,omitempty" yaml:"machines,omitempty" mapstructure:"machines,omitempty" secure:"true"` Certificates SecureCertificateRegistry `json:"certificates,omitempty" yaml:"certificates,omitempty" mapstructure:"certificates,omitempty" secure:"true"` Mail SecureMailRegistry `json:"mail,omitempty" yaml:"mail,omitempty" mapstructure:"mail,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureOrganizationRegistry) GetCryptoParams ¶
func (s SecureOrganizationRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureOrganizationRegistry) GetTransformConfig ¶
func (s SecureOrganizationRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureRegistry ¶
type SecureRegistry struct { Organizations []SecureOrganization `json:"organizations,omitempty" yaml:"organizations,omitempty" mapstructure:"organizations,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureRegistry) GetCryptoParams ¶
func (s SecureRegistry) GetCryptoParams() cryptostruct.CryptoParams
func (SecureRegistry) GetOrganizationByName ¶ added in v0.2.1
func (s SecureRegistry) GetOrganizationByName(name string) (SecureOrganization, error)
func (SecureRegistry) GetOrganizationNames ¶ added in v0.2.1
func (s SecureRegistry) GetOrganizationNames() []string
func (SecureRegistry) GetTransformConfig ¶
func (s SecureRegistry) GetTransformConfig() cryptostruct.TransformConfig
type SecureSmtpAuthentication ¶ added in v0.2.3
type SecureSmtpAuthentication struct { Username string `json:"username,omitempty" yaml:"username,omitempty" mapstructure:"username,omitempty" secure:"true"` Password string `json:"password,omitempty" yaml:"password,omitempty" mapstructure:"password,omitempty" secure:"true"` AuthenticationType string `json:"type,omitempty" yaml:"type,omitempty" mapstructure:"type,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureSmtpAuthentication) GetCryptoParams ¶ added in v0.2.4
func (s SecureSmtpAuthentication) GetCryptoParams() cryptostruct.CryptoParams
func (SecureSmtpAuthentication) GetTransformConfig ¶ added in v0.2.3
func (s SecureSmtpAuthentication) GetTransformConfig() cryptostruct.TransformConfig
type SecureSmtpServer ¶ added in v0.2.3
type SecureSmtpServer struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Address string `json:"address,omitempty" yaml:"address,omitempty" mapstructure:"address,omitempty" secure:"true"` Port string `json:"port,omitempty" yaml:"port,omitempty" mapstructure:"port,omitempty" secure:"true"` Authentication SecureSmtpAuthentication `json:"authentication,omitempty" yaml:"authentication,omitempty" mapstructure:"authentication,omitempty" secure:"true"` CryptoParams cryptostruct.CryptoParams `json:"cryptoParams" yaml:"cryptoParams" mapstructure:"cryptoParams"` }
func (SecureSmtpServer) GetCryptoParams ¶ added in v0.2.4
func (s SecureSmtpServer) GetCryptoParams() cryptostruct.CryptoParams
func (SecureSmtpServer) GetTransformConfig ¶ added in v0.2.3
func (s SecureSmtpServer) GetTransformConfig() cryptostruct.TransformConfig
type SmtpAuthentication ¶ added in v0.2.3
type SmtpAuthentication struct { Username string `json:"username,omitempty" yaml:"username,omitempty" mapstructure:"username,omitempty" secure:"true"` Password string `json:"password,omitempty" yaml:"password,omitempty" mapstructure:"password,omitempty" secure:"true"` AuthenticationType string `json:"type,omitempty" yaml:"type,omitempty" mapstructure:"type,omitempty" secure:"true"` }
func (SmtpAuthentication) GetTransformConfig ¶ added in v0.2.3
func (s SmtpAuthentication) GetTransformConfig() cryptostruct.TransformConfig
type SmtpServer ¶ added in v0.2.3
type SmtpServer struct { Name string `json:"name,omitempty" yaml:"name,omitempty" mapstructure:"name,omitempty" secure:"false"` Address string `json:"address,omitempty" yaml:"address,omitempty" mapstructure:"address,omitempty" secure:"true"` Port string `json:"port,omitempty" yaml:"port,omitempty" mapstructure:"port,omitempty" secure:"true"` Authentication SmtpAuthentication `json:"authentication,omitempty" yaml:"authentication,omitempty" mapstructure:"authentication,omitempty" secure:"true"` }
func (SmtpServer) GetTransformConfig ¶ added in v0.2.3
func (s SmtpServer) GetTransformConfig() cryptostruct.TransformConfig
Source Files ¶
- acmeExternalAccountBinding.go
- acmeProvider.go
- acmeRegistry.go
- acmeService.go
- acmeUser.go
- acmeVariable.go
- certificatePassphrase.go
- certificateRegistry.go
- errors.go
- machinesRegistry.go
- mailRegistry.go
- netscalelAdcNode.go
- netscalerAdcCredential.go
- netscalerAdcEnvironment.go
- netscalerAdcRegistry.go
- netscalerAdcSettings.go
- netscalerRegistry.go
- netscalerSdxRegistry.go
- organization.go
- organizationRegistry.go
- registry.go
- smtpAuthentication.go
- smtpServer.go
Click to show internal directories.
Click to hide internal directories.