Documentation ¶
Index ¶
- func CertificateStateRefreshFunc(client *rancher.RancherClient, certificateID string) resource.StateRefreshFunc
- func EnvironmentStateRefreshFunc(client *rancherClient.RancherClient, environmentID string) resource.StateRefreshFunc
- func HostStateRefreshFunc(client *rancher.RancherClient, hostID string) resource.StateRefreshFunc
- func NewListOpts() *client.ListOpts
- func Provider() terraform.ResourceProvider
- func RegistrationTokenStateRefreshFunc(client *rancherClient.RancherClient, regTID string) resource.StateRefreshFunc
- func RegistryCredentialStateRefreshFunc(client *rancherClient.RancherClient, registryCredID string) resource.StateRefreshFunc
- func RegistryStateRefreshFunc(client *rancherClient.RancherClient, registryID string) resource.StateRefreshFunc
- func StackStateRefreshFunc(client *rancherClient.RancherClient, stackID string) resource.StateRefreshFunc
- type CLIConfig
- type Config
- func (c *Config) CatalogClient() (*catalog.RancherClient, error)
- func (c *Config) EnvironmentClient(env string) (*rancherClient.RancherClient, error)
- func (c *Config) GlobalClient() (*rancherClient.RancherClient, error)
- func (c *Config) RegistryClient(id string) (*rancherClient.RancherClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertificateStateRefreshFunc ¶ added in v0.9.0
func CertificateStateRefreshFunc(client *rancher.RancherClient, certificateID string) resource.StateRefreshFunc
CertificateStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Rancher Certificate.
func EnvironmentStateRefreshFunc ¶
func EnvironmentStateRefreshFunc(client *rancherClient.RancherClient, environmentID string) resource.StateRefreshFunc
EnvironmentStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Rancher Environment.
func HostStateRefreshFunc ¶ added in v0.9.0
func HostStateRefreshFunc(client *rancher.RancherClient, hostID string) resource.StateRefreshFunc
HostStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Rancher Host.
func NewListOpts ¶ added in v0.9.0
NewListOpts wraps around client.NewListOpts()
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
func RegistrationTokenStateRefreshFunc ¶
func RegistrationTokenStateRefreshFunc(client *rancherClient.RancherClient, regTID string) resource.StateRefreshFunc
RegistrationTokenStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Rancher RegistrationToken.
func RegistryCredentialStateRefreshFunc ¶
func RegistryCredentialStateRefreshFunc(client *rancherClient.RancherClient, registryCredID string) resource.StateRefreshFunc
RegistryCredentialStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Rancher Environment.
func RegistryStateRefreshFunc ¶
func RegistryStateRefreshFunc(client *rancherClient.RancherClient, registryID string) resource.StateRefreshFunc
RegistryStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Rancher Environment.
func StackStateRefreshFunc ¶
func StackStateRefreshFunc(client *rancherClient.RancherClient, stackID string) resource.StateRefreshFunc
StackStateRefreshFunc returns a resource.StateRefreshFunc that is used to watch a Rancher Stack.
Types ¶
type Config ¶
Config is the configuration parameters for a Rancher API
func (*Config) CatalogClient ¶
func (c *Config) CatalogClient() (*catalog.RancherClient, error)
CatalogClient creates a Rancher client scoped to a Catalog's API
func (*Config) EnvironmentClient ¶
func (c *Config) EnvironmentClient(env string) (*rancherClient.RancherClient, error)
EnvironmentClient creates a Rancher client scoped to an Environment's API
func (*Config) GlobalClient ¶ added in v0.9.0
func (c *Config) GlobalClient() (*rancherClient.RancherClient, error)
GlobalClient creates a Rancher client scoped to the global API
func (*Config) RegistryClient ¶
func (c *Config) RegistryClient(id string) (*rancherClient.RancherClient, error)
RegistryClient creates a Rancher client scoped to a Registry's API