ca

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAttrs added in v1.7.0

func ConvertAttrs(inAttrs map[string]string) ([]api.Attribute, error)

ConvertAttrs converts attribute string into an Attribute object array

func NewCACmd

func NewCACmd(out io.Writer, errOut io.Writer) *cobra.Command

Types

type EnrollOptions

type EnrollOptions struct {
	Name       string
	NS         string
	User       string
	Secret     string
	Type       string
	MspID      string
	CAName     string
	Profile    string
	Hosts      []string
	CN         string
	WalletPath string
	WalletUser string
	Attributes string
	CAURL      string
}

func (EnrollOptions) Validate

func (o EnrollOptions) Validate() error

type Options

type Options struct {
	Name                string
	StorageClass        string
	Capacity            string
	NS                  string
	Image               string
	Version             string
	EnrollID            string
	EnrollSecret        string
	Output              bool
	IngressGateway      string
	IngressPort         int
	Hosts               []string
	GatewayApiPort      int
	GatewayApiName      string
	GatewayApiNamespace string
	GatewayApiHosts     []string
	DBType              string
	DBDataSource        string
	ImagePullSecrets    []string
}

func (Options) Validate

func (o Options) Validate() error

type RegisterOptions

type RegisterOptions struct {
	Name         string
	NS           string
	User         string
	Secret       string
	Type         string
	MspID        string
	EnrollID     string
	EnrollSecret string
	Attributes   string
	CAURL        string
}

func (RegisterOptions) Validate

func (o RegisterOptions) Validate() error

Jump to

Keyboard shortcuts

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