Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCredentials ¶
func GenerateCredentials(opts GenerateCredentialsOptions) (storage.CredentialSet, error)
GenerateCredentials will generate a credential set based on the given options
Types ¶
type GenerateCredentialsOptions ¶
type GenerateCredentialsOptions struct { GenerateOptions // Credentials from the bundle Credentials map[string]bundle.Credential }
GenerateCredentialsOptions are the options to generate a Credential Set
type GenerateOptions ¶
type GenerateOptions struct { // Name of the parameter or credential set. Name string Namespace string Labels map[string]string // Should we survey? Silent bool }
GenerateOptions are the options to generate a parameter or credential set
type GenerateParametersOptions ¶
type GenerateParametersOptions struct { GenerateOptions // Bundle to generate parameters from Bundle cnab.ExtendedBundle }
GenerateParametersOptions are the options to generate a Parameter Set
func (*GenerateParametersOptions) GenerateParameters ¶ added in v0.28.0
func (opts *GenerateParametersOptions) GenerateParameters() (storage.ParameterSet, error)
GenerateParameters will generate a parameter set based on the given options
type SurveyType ¶
type SurveyType string
SurveyType indicates whether the survey is for a parameter or credential
Click to show internal directories.
Click to hide internal directories.