Update
This commit is contained in:
10
sdk/go/incus/config/config.go
generated
10
sdk/go/incus/config/config.go
generated
@@ -1,4 +1,4 @@
|
||||
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
|
||||
// Code generated by pulumi-language-go DO NOT EDIT.
|
||||
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
package config
|
||||
@@ -21,13 +21,17 @@ func GetConfigDir(ctx *pulumi.Context) string {
|
||||
return config.Get(ctx, "incus:configDir")
|
||||
}
|
||||
|
||||
// The default remote to use when no other remote is defined in a resource.
|
||||
func GetDefaultRemote(ctx *pulumi.Context) string {
|
||||
return config.Get(ctx, "incus:defaultRemote")
|
||||
}
|
||||
|
||||
// Automatically generate the Incus client certificates if they don't exist.
|
||||
func GetGenerateClientCertificates(ctx *pulumi.Context) bool {
|
||||
return config.GetBool(ctx, "incus:generateClientCertificates")
|
||||
}
|
||||
|
||||
// The project where project-scoped resources will be created. Can be overridden in individual resources. (default =
|
||||
// default)
|
||||
// The project where project-scoped resources will be created. Can be overridden in individual resources. (default = default)
|
||||
func GetProject(ctx *pulumi.Context) string {
|
||||
return config.Get(ctx, "incus:project")
|
||||
}
|
||||
|
||||
62
sdk/go/incus/config/pulumiTypes.go
generated
62
sdk/go/incus/config/pulumiTypes.go
generated
@@ -1,4 +1,4 @@
|
||||
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
|
||||
// Code generated by pulumi-language-go DO NOT EDIT.
|
||||
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
package config
|
||||
@@ -14,17 +14,17 @@ import (
|
||||
var _ = internal.GetEnvOrDefault
|
||||
|
||||
type Remotes struct {
|
||||
// The FQDN or IP where the Incus daemon can be contacted. (default = "" (read from lxc config))
|
||||
// The URL of the Incus host. The default will be the path to the local unix socket, or leaving it as an empty string will use the default socket path.
|
||||
Address *string `pulumi:"address"`
|
||||
// Set this remote as default.
|
||||
Default *bool `pulumi:"default"`
|
||||
// Name of the Incus remote. Required when incusScheme set to https, to enable locating server certificate.
|
||||
// Server authentication type, tls or oidc. ( Only for the `incus` protocol )
|
||||
AuthenticationType *string `pulumi:"authenticationType"`
|
||||
// Name of the Incus remote.
|
||||
Name string `pulumi:"name"`
|
||||
// Port Incus Daemon API is listening on. (default = 8443)
|
||||
Port *string `pulumi:"port"`
|
||||
// Unix (unix) or HTTPs (https). (default = unix)
|
||||
Scheme *string `pulumi:"scheme"`
|
||||
// The trust token for the remote.
|
||||
// Server protocol ( incus, oci or simplestreams )
|
||||
Protocol *string `pulumi:"protocol"`
|
||||
// Public image server
|
||||
Public *bool `pulumi:"public"`
|
||||
// The trust token used for initial authentication with the Incus remote.
|
||||
Token *string `pulumi:"token"`
|
||||
}
|
||||
|
||||
@@ -40,17 +40,17 @@ type RemotesInput interface {
|
||||
}
|
||||
|
||||
type RemotesArgs struct {
|
||||
// The FQDN or IP where the Incus daemon can be contacted. (default = "" (read from lxc config))
|
||||
// The URL of the Incus host. The default will be the path to the local unix socket, or leaving it as an empty string will use the default socket path.
|
||||
Address pulumi.StringPtrInput `pulumi:"address"`
|
||||
// Set this remote as default.
|
||||
Default pulumi.BoolPtrInput `pulumi:"default"`
|
||||
// Name of the Incus remote. Required when incusScheme set to https, to enable locating server certificate.
|
||||
// Server authentication type, tls or oidc. ( Only for the `incus` protocol )
|
||||
AuthenticationType pulumi.StringPtrInput `pulumi:"authenticationType"`
|
||||
// Name of the Incus remote.
|
||||
Name pulumi.StringInput `pulumi:"name"`
|
||||
// Port Incus Daemon API is listening on. (default = 8443)
|
||||
Port pulumi.StringPtrInput `pulumi:"port"`
|
||||
// Unix (unix) or HTTPs (https). (default = unix)
|
||||
Scheme pulumi.StringPtrInput `pulumi:"scheme"`
|
||||
// The trust token for the remote.
|
||||
// Server protocol ( incus, oci or simplestreams )
|
||||
Protocol pulumi.StringPtrInput `pulumi:"protocol"`
|
||||
// Public image server
|
||||
Public pulumi.BoolPtrInput `pulumi:"public"`
|
||||
// The trust token used for initial authentication with the Incus remote.
|
||||
Token pulumi.StringPtrInput `pulumi:"token"`
|
||||
}
|
||||
|
||||
@@ -105,32 +105,32 @@ func (o RemotesOutput) ToRemotesOutputWithContext(ctx context.Context) RemotesOu
|
||||
return o
|
||||
}
|
||||
|
||||
// The FQDN or IP where the Incus daemon can be contacted. (default = "" (read from lxc config))
|
||||
// The URL of the Incus host. The default will be the path to the local unix socket, or leaving it as an empty string will use the default socket path.
|
||||
func (o RemotesOutput) Address() pulumi.StringPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *string { return v.Address }).(pulumi.StringPtrOutput)
|
||||
}
|
||||
|
||||
// Set this remote as default.
|
||||
func (o RemotesOutput) Default() pulumi.BoolPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *bool { return v.Default }).(pulumi.BoolPtrOutput)
|
||||
// Server authentication type, tls or oidc. ( Only for the `incus` protocol )
|
||||
func (o RemotesOutput) AuthenticationType() pulumi.StringPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *string { return v.AuthenticationType }).(pulumi.StringPtrOutput)
|
||||
}
|
||||
|
||||
// Name of the Incus remote. Required when incusScheme set to https, to enable locating server certificate.
|
||||
// Name of the Incus remote.
|
||||
func (o RemotesOutput) Name() pulumi.StringOutput {
|
||||
return o.ApplyT(func(v Remotes) string { return v.Name }).(pulumi.StringOutput)
|
||||
}
|
||||
|
||||
// Port Incus Daemon API is listening on. (default = 8443)
|
||||
func (o RemotesOutput) Port() pulumi.StringPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *string { return v.Port }).(pulumi.StringPtrOutput)
|
||||
// Server protocol ( incus, oci or simplestreams )
|
||||
func (o RemotesOutput) Protocol() pulumi.StringPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *string { return v.Protocol }).(pulumi.StringPtrOutput)
|
||||
}
|
||||
|
||||
// Unix (unix) or HTTPs (https). (default = unix)
|
||||
func (o RemotesOutput) Scheme() pulumi.StringPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *string { return v.Scheme }).(pulumi.StringPtrOutput)
|
||||
// Public image server
|
||||
func (o RemotesOutput) Public() pulumi.BoolPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *bool { return v.Public }).(pulumi.BoolPtrOutput)
|
||||
}
|
||||
|
||||
// The trust token for the remote.
|
||||
// The trust token used for initial authentication with the Incus remote.
|
||||
func (o RemotesOutput) Token() pulumi.StringPtrOutput {
|
||||
return o.ApplyT(func(v Remotes) *string { return v.Token }).(pulumi.StringPtrOutput)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user