models

package
v0.0.0-...-56d91b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialBulkImport

type CredentialBulkImport struct {
	Credentials []map[string]interface{} `yaml:"credentials"`
}

func (*CredentialBulkImport) ReadBytes

func (credentialBulkImport *CredentialBulkImport) ReadBytes(data []byte) error

func (*CredentialBulkImport) ReadFile

func (credentialBulkImport *CredentialBulkImport) ReadFile(filepath string) error

type GenerationParameters

type GenerationParameters struct {
	IncludeSpecial   bool     `json:"include_special,omitempty"`
	ExcludeNumber    bool     `json:"exclude_number,omitempty"`
	ExcludeUpper     bool     `json:"exclude_upper,omitempty"`
	ExcludeLower     bool     `json:"exclude_lower,omitempty"`
	Length           int      `json:"length,omitempty"`
	CommonName       string   `json:"common_name,omitempty"`
	Organization     string   `json:"organization,omitempty"`
	OrganizationUnit string   `json:"organization_unit,omitempty"`
	Locality         string   `json:"locality,omitempty"`
	State            string   `json:"state,omitempty"`
	Country          string   `json:"country,omitempty"`
	AlternativeName  []string `json:"alternative_names,omitempty"`
	ExtendedKeyUsage []string `json:"extended_key_usage,omitempty"`
	KeyUsage         []string `json:"key_usage,omitempty"`
	KeyLength        int      `json:"key_length,omitempty"`
	Duration         int      `json:"duration,omitempty"`
	Ca               string   `json:"ca,omitempty"`
	SelfSign         bool     `json:"self_sign,omitempty"`
	IsCA             bool     `json:"is_ca,omitempty"`
	SshComment       string   `json:"ssh_comment,omitempty"`
	Username         string   `json:"username,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL