Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationConfig ¶
type AuthorizationConfig struct { Authority string `yaml:"authority" json:"authority"` ClientID string `yaml:"clientId" json:"clientId"` Audience string `yaml:"audience" json:"audience"` Scopes []string `yaml:"scopes" json:"scopes"` OwnerClaim string `yaml:"ownerClaim" json:"ownerClaim"` }
func (AuthorizationConfig) ToProto ¶
func (c AuthorizationConfig) ToProto() *pb.Authorization
func (*AuthorizationConfig) Validate ¶
func (c *AuthorizationConfig) Validate(mode Mode) error
type Config ¶
type Config struct { Mode Mode `yaml:"mode" json:"mode"` UserAgentConfig UserAgentConfig `yaml:"userAgent" json:"userAgent"` Authorization AuthorizationConfig `yaml:"authorization" json:"authorization"` }
func DefaultConfig ¶
func DefaultConfig() Config
func (*Config) ToProto ¶
func (c *Config) ToProto() *pb.RemoteProvisioning
type Mode ¶
type Mode string
func (Mode) ToProto ¶
func (m Mode) ToProto() pb.RemoteProvisioning_Mode
type UserAgentConfig ¶
type UserAgentConfig struct { CertificateAuthorityAddress string `yaml:"certificateAuthorityAddress" json:"certificateAuthorityAddress"` CSRChallengeStateExpiration time.Duration `yaml:"csrChallengeStateExpiration" json:"csrChallengeStateExpiration"` }
func (*UserAgentConfig) ToProto ¶
func (c *UserAgentConfig) ToProto() *pb.UserAgent
func (*UserAgentConfig) Validate ¶
func (c *UserAgentConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.