Documentation
¶
Overview ¶
Package cmd implements important functions for command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version of csctl-openstack. Version = "dev" // Commit against which csctl-openstack version is cut. Commit = "unknown" )
Functions ¶
Types ¶
type CreateOpts ¶
type CreateOpts images.CreateOpts
CreateOpts represents options used to create an image.
type NodeImages ¶
type NodeImages struct {
APIVersion string `yaml:"apiVersion"`
OpenStackNodeImages []*OpenStackNodeImage `yaml:"openStackNodeImages"`
}
NodeImages represents the structure of the config.yaml file.
type OpenStackNodeImage ¶
type OpenStackNodeImage struct {
URL string `json:"url" yaml:"url"`
ImageDir string `json:"imageDir,omitempty" yaml:"imageDir,omitempty"`
CreateOpts *CreateOpts `json:"createOpts" yaml:"createOpts"`
}
OpenStackNodeImage represents the structure of the OpenStackNodeImage.
type RegistryConfig ¶
type RegistryConfig struct {
Type string `yaml:"type"`
Config struct {
Endpoint string `yaml:"endpoint"`
Bucket string `yaml:"bucket"`
AccessKey string `yaml:"accessKey"`
SecretKey string `yaml:"secretKey"`
Verify *bool `yaml:"verify,omitempty"`
Cacert string `yaml:"cacert,omitempty"`
ProjectID string `yaml:"projectID,omitempty"` //nolint:tagliatelle // using 'projectID' instead of 'projectId'
} `yaml:"config"`
}
RegistryConfig represents the structure of the registry.yaml file.
Click to show internal directories.
Click to hide internal directories.