Documentation ¶
Index ¶
- Constants
- Variables
- func DumpConfig(config interface{}, say func(string))
- func GlueStrings(a, b string) string
- func IsStateCancelled(stateBag multistep.StateBag) bool
- type AZVaultClientIface
- type Artifact
- type MockAZVaultClient
- func (m *MockAZVaultClient) DeletePreparer(resourceGroupName string, vaultName string) (*http.Request, error)
- func (m *MockAZVaultClient) DeleteResponder(resp *http.Response) (autorest.Response, error)
- func (m *MockAZVaultClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (m *MockAZVaultClient) GetSecret(vaultName, secretName string) (*Secret, error)
- func (m *MockAZVaultClient) SetSecret(vaultName, secretName string, secretValue string) error
- type Secret
- type VaultClient
Constants ¶
View Source
const (
AzureVaultApiVersion = "2016-10-01"
)
Variables ¶
View Source
var TemplateFuncs = template.FuncMap{
"clean_resource_name": templateCleanImageName,
}
Functions ¶
func DumpConfig ¶ added in v0.10.1
func DumpConfig(config interface{}, say func(string))
func GlueStrings ¶
removes overlap between the end of a and the start of b and glues them together
func IsStateCancelled ¶ added in v0.10.1
Types ¶
type AZVaultClientIface ¶ added in v1.5.2
type AZVaultClientIface interface { GetSecret(string, string) (*Secret, error) SetSecret(string, string, string) error }
Enables us to test steps that access this cli
type Artifact ¶ added in v1.4.5
type Artifact struct { // Array of the Azure resource IDs that were created. Resources []string // BuilderId is the unique ID for the builder that created this AMI BuilderIdValue string // Azure client for performing API stuff. AzureClientSet client.AzureClientSet // StateData should store data such as GeneratedData // to be shared with post-processors StateData map[string]interface{} }
Artifact is an artifact implementation that contains built Managed Images or Disks.
type MockAZVaultClient ¶ added in v1.5.2
type MockAZVaultClient struct { GetSecretCalled bool SetSecretCalled bool SetSecretVaultName string SetSecretSecretName string SetSecretCert string DeleteResponderCalled bool DeletePreparerCalled bool DeleteSenderCalled bool IsError bool }
func (*MockAZVaultClient) DeletePreparer ¶ added in v1.5.2
func (*MockAZVaultClient) DeleteResponder ¶ added in v1.5.2
func (*MockAZVaultClient) DeleteSender ¶ added in v1.5.2
type VaultClient ¶ added in v0.10.1
type VaultClient struct { autorest.Client SubscriptionID string // contains filtered or unexported fields }
func NewVaultClient ¶ added in v0.11.0
func NewVaultClient(keyVaultEndpoint url.URL) VaultClient
func NewVaultClientWithBaseURI ¶ added in v1.1.3
func NewVaultClientWithBaseURI(baseURI, subscriptionID string) VaultClient
Source Files ¶
Click to show internal directories.
Click to hide internal directories.