Documentation
¶
Overview ¶
Package proto contains the generated gRPC/protobuf bindings for the DigitalOcean workflow plugin.
The checked-in digitalocean.pb.go was generated with:
protoc v25.3 (libprotoc 25.3) protoc-gen-go v1.34.2 (google.golang.org/protobuf)
To regenerate after editing digitalocean.proto, install the same tool versions and run:
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 go generate ./proto/
Regenerating with different tool versions may produce cosmetic diffs in the output; keep the checked-in version stable to avoid noise in code review.
Index ¶
- Variables
- type IacProviderConfig
- func (*IacProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IacProviderConfig) GetRegion() string
- func (x *IacProviderConfig) GetSpacesAccessKey() string
- func (x *IacProviderConfig) GetSpacesSecretKey() string
- func (x *IacProviderConfig) GetToken() string
- func (*IacProviderConfig) ProtoMessage()
- func (x *IacProviderConfig) ProtoReflect() protoreflect.Message
- func (x *IacProviderConfig) Reset()
- func (x *IacProviderConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_digitalocean_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type IacProviderConfig ¶
type IacProviderConfig struct {
// token is the DigitalOcean personal access token (required).
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// region is the default DigitalOcean region slug (e.g. "nyc3").
// Defaults to "nyc3" when empty.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// spaces_access_key is the DO Spaces access key for object-storage operations.
// Required only when the infra.storage resource type is used.
SpacesAccessKey string `protobuf:"bytes,3,opt,name=spaces_access_key,json=spacesAccessKey,proto3" json:"spaces_access_key,omitempty"`
// spaces_secret_key is the DO Spaces secret key for object-storage operations.
// Required only when the infra.storage resource type is used.
SpacesSecretKey string `protobuf:"bytes,4,opt,name=spaces_secret_key,json=spacesSecretKey,proto3" json:"spaces_secret_key,omitempty"`
// contains filtered or unexported fields
}
IacProviderConfig is the typed configuration for the "iac.provider" module. It corresponds to the config map accepted by DOProvider.Initialize.
func (*IacProviderConfig) Descriptor
deprecated
func (*IacProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use IacProviderConfig.ProtoReflect.Descriptor instead.
func (*IacProviderConfig) GetRegion ¶
func (x *IacProviderConfig) GetRegion() string
func (*IacProviderConfig) GetSpacesAccessKey ¶
func (x *IacProviderConfig) GetSpacesAccessKey() string
func (*IacProviderConfig) GetSpacesSecretKey ¶
func (x *IacProviderConfig) GetSpacesSecretKey() string
func (*IacProviderConfig) GetToken ¶
func (x *IacProviderConfig) GetToken() string
func (*IacProviderConfig) ProtoMessage ¶
func (*IacProviderConfig) ProtoMessage()
func (*IacProviderConfig) ProtoReflect ¶
func (x *IacProviderConfig) ProtoReflect() protoreflect.Message
func (*IacProviderConfig) Reset ¶
func (x *IacProviderConfig) Reset()
func (*IacProviderConfig) String ¶
func (x *IacProviderConfig) String() string
Click to show internal directories.
Click to hide internal directories.