Documentation ¶
Overview ¶
nolint
Index ¶
- type LockboxSecret
- type SecretAccessBindingsIterator
- func (it *SecretAccessBindingsIterator) Error() error
- func (it *SecretAccessBindingsIterator) Next() bool
- func (it *SecretAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
- func (it *SecretAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
- func (it *SecretAccessBindingsIterator) Value() *access.AccessBinding
- type SecretIterator
- type SecretOperationsIterator
- func (it *SecretOperationsIterator) Error() error
- func (it *SecretOperationsIterator) Next() bool
- func (it *SecretOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *SecretOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *SecretOperationsIterator) Value() *operation.Operation
- type SecretServiceClient
- func (c *SecretServiceClient) Activate(ctx context.Context, in *lockbox.ActivateSecretRequest, ...) (*operation.Operation, error)
- func (c *SecretServiceClient) AddVersion(ctx context.Context, in *lockbox.AddVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *SecretServiceClient) CancelVersionDestruction(ctx context.Context, in *lockbox.CancelVersionDestructionRequest, ...) (*operation.Operation, error)
- func (c *SecretServiceClient) Create(ctx context.Context, in *lockbox.CreateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *SecretServiceClient) Deactivate(ctx context.Context, in *lockbox.DeactivateSecretRequest, ...) (*operation.Operation, error)
- func (c *SecretServiceClient) Delete(ctx context.Context, in *lockbox.DeleteSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *SecretServiceClient) Get(ctx context.Context, in *lockbox.GetSecretRequest, opts ...grpc.CallOption) (*lockbox.Secret, error)
- func (c *SecretServiceClient) List(ctx context.Context, in *lockbox.ListSecretsRequest, opts ...grpc.CallOption) (*lockbox.ListSecretsResponse, error)
- func (c *SecretServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, ...) (*access.ListAccessBindingsResponse, error)
- func (c *SecretServiceClient) ListOperations(ctx context.Context, in *lockbox.ListSecretOperationsRequest, ...) (*lockbox.ListSecretOperationsResponse, error)
- func (c *SecretServiceClient) ListVersions(ctx context.Context, in *lockbox.ListVersionsRequest, opts ...grpc.CallOption) (*lockbox.ListVersionsResponse, error)
- func (c *SecretServiceClient) ScheduleVersionDestruction(ctx context.Context, in *lockbox.ScheduleVersionDestructionRequest, ...) (*operation.Operation, error)
- func (c *SecretServiceClient) SecretAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, ...) *SecretAccessBindingsIterator
- func (c *SecretServiceClient) SecretIterator(ctx context.Context, req *lockbox.ListSecretsRequest, opts ...grpc.CallOption) *SecretIterator
- func (c *SecretServiceClient) SecretOperationsIterator(ctx context.Context, req *lockbox.ListSecretOperationsRequest, ...) *SecretOperationsIterator
- func (c *SecretServiceClient) SecretVersionsIterator(ctx context.Context, req *lockbox.ListVersionsRequest, opts ...grpc.CallOption) *SecretVersionsIterator
- func (c *SecretServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, ...) (*operation.Operation, error)
- func (c *SecretServiceClient) Update(ctx context.Context, in *lockbox.UpdateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *SecretServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, ...) (*operation.Operation, error)
- type SecretVersionsIterator
- func (it *SecretVersionsIterator) Error() error
- func (it *SecretVersionsIterator) Next() bool
- func (it *SecretVersionsIterator) Take(size int64) ([]*lockbox.Version, error)
- func (it *SecretVersionsIterator) TakeAll() ([]*lockbox.Version, error)
- func (it *SecretVersionsIterator) Value() *lockbox.Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockboxSecret ¶
type LockboxSecret struct {
// contains filtered or unexported fields
}
LockboxSecret provides access to "lockbox" component of Yandex.Cloud
func NewLockboxSecret ¶
func NewLockboxSecret(g func(ctx context.Context) (*grpc.ClientConn, error)) *LockboxSecret
NewLockboxSecret creates instance of LockboxSecret
func (*LockboxSecret) Secret ¶
func (l *LockboxSecret) Secret() *SecretServiceClient
Secret gets SecretService client
type SecretAccessBindingsIterator ¶
type SecretAccessBindingsIterator struct {
// contains filtered or unexported fields
}
func (*SecretAccessBindingsIterator) Error ¶
func (it *SecretAccessBindingsIterator) Error() error
func (*SecretAccessBindingsIterator) Next ¶
func (it *SecretAccessBindingsIterator) Next() bool
func (*SecretAccessBindingsIterator) Take ¶
func (it *SecretAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
func (*SecretAccessBindingsIterator) TakeAll ¶
func (it *SecretAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
func (*SecretAccessBindingsIterator) Value ¶
func (it *SecretAccessBindingsIterator) Value() *access.AccessBinding
type SecretIterator ¶
type SecretIterator struct {
// contains filtered or unexported fields
}
func (*SecretIterator) Error ¶
func (it *SecretIterator) Error() error
func (*SecretIterator) Next ¶
func (it *SecretIterator) Next() bool
func (*SecretIterator) Value ¶
func (it *SecretIterator) Value() *lockbox.Secret
type SecretOperationsIterator ¶
type SecretOperationsIterator struct {
// contains filtered or unexported fields
}
func (*SecretOperationsIterator) Error ¶
func (it *SecretOperationsIterator) Error() error
func (*SecretOperationsIterator) Next ¶
func (it *SecretOperationsIterator) Next() bool
func (*SecretOperationsIterator) Take ¶
func (it *SecretOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*SecretOperationsIterator) TakeAll ¶
func (it *SecretOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*SecretOperationsIterator) Value ¶
func (it *SecretOperationsIterator) Value() *operation.Operation
type SecretServiceClient ¶
type SecretServiceClient struct {
// contains filtered or unexported fields
}
SecretServiceClient is a lockbox.SecretServiceClient with lazy GRPC connection initialization.
func (*SecretServiceClient) Activate ¶
func (c *SecretServiceClient) Activate(ctx context.Context, in *lockbox.ActivateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Activate implements lockbox.SecretServiceClient
func (*SecretServiceClient) AddVersion ¶
func (c *SecretServiceClient) AddVersion(ctx context.Context, in *lockbox.AddVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddVersion implements lockbox.SecretServiceClient
func (*SecretServiceClient) CancelVersionDestruction ¶
func (c *SecretServiceClient) CancelVersionDestruction(ctx context.Context, in *lockbox.CancelVersionDestructionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
CancelVersionDestruction implements lockbox.SecretServiceClient
func (*SecretServiceClient) Create ¶
func (c *SecretServiceClient) Create(ctx context.Context, in *lockbox.CreateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements lockbox.SecretServiceClient
func (*SecretServiceClient) Deactivate ¶
func (c *SecretServiceClient) Deactivate(ctx context.Context, in *lockbox.DeactivateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Deactivate implements lockbox.SecretServiceClient
func (*SecretServiceClient) Delete ¶
func (c *SecretServiceClient) Delete(ctx context.Context, in *lockbox.DeleteSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements lockbox.SecretServiceClient
func (*SecretServiceClient) Get ¶
func (c *SecretServiceClient) Get(ctx context.Context, in *lockbox.GetSecretRequest, opts ...grpc.CallOption) (*lockbox.Secret, error)
Get implements lockbox.SecretServiceClient
func (*SecretServiceClient) List ¶
func (c *SecretServiceClient) List(ctx context.Context, in *lockbox.ListSecretsRequest, opts ...grpc.CallOption) (*lockbox.ListSecretsResponse, error)
List implements lockbox.SecretServiceClient
func (*SecretServiceClient) ListAccessBindings ¶
func (c *SecretServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
ListAccessBindings implements lockbox.SecretServiceClient
func (*SecretServiceClient) ListOperations ¶
func (c *SecretServiceClient) ListOperations(ctx context.Context, in *lockbox.ListSecretOperationsRequest, opts ...grpc.CallOption) (*lockbox.ListSecretOperationsResponse, error)
ListOperations implements lockbox.SecretServiceClient
func (*SecretServiceClient) ListVersions ¶
func (c *SecretServiceClient) ListVersions(ctx context.Context, in *lockbox.ListVersionsRequest, opts ...grpc.CallOption) (*lockbox.ListVersionsResponse, error)
ListVersions implements lockbox.SecretServiceClient
func (*SecretServiceClient) ScheduleVersionDestruction ¶
func (c *SecretServiceClient) ScheduleVersionDestruction(ctx context.Context, in *lockbox.ScheduleVersionDestructionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
ScheduleVersionDestruction implements lockbox.SecretServiceClient
func (*SecretServiceClient) SecretAccessBindingsIterator ¶
func (c *SecretServiceClient) SecretAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, opts ...grpc.CallOption) *SecretAccessBindingsIterator
func (*SecretServiceClient) SecretIterator ¶
func (c *SecretServiceClient) SecretIterator(ctx context.Context, req *lockbox.ListSecretsRequest, opts ...grpc.CallOption) *SecretIterator
func (*SecretServiceClient) SecretOperationsIterator ¶
func (c *SecretServiceClient) SecretOperationsIterator(ctx context.Context, req *lockbox.ListSecretOperationsRequest, opts ...grpc.CallOption) *SecretOperationsIterator
func (*SecretServiceClient) SecretVersionsIterator ¶
func (c *SecretServiceClient) SecretVersionsIterator(ctx context.Context, req *lockbox.ListVersionsRequest, opts ...grpc.CallOption) *SecretVersionsIterator
func (*SecretServiceClient) SetAccessBindings ¶
func (c *SecretServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetAccessBindings implements lockbox.SecretServiceClient
func (*SecretServiceClient) Update ¶
func (c *SecretServiceClient) Update(ctx context.Context, in *lockbox.UpdateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements lockbox.SecretServiceClient
func (*SecretServiceClient) UpdateAccessBindings ¶
func (c *SecretServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateAccessBindings implements lockbox.SecretServiceClient
type SecretVersionsIterator ¶
type SecretVersionsIterator struct {
// contains filtered or unexported fields
}
func (*SecretVersionsIterator) Error ¶
func (it *SecretVersionsIterator) Error() error
func (*SecretVersionsIterator) Next ¶
func (it *SecretVersionsIterator) Next() bool
func (*SecretVersionsIterator) Take ¶
func (it *SecretVersionsIterator) Take(size int64) ([]*lockbox.Version, error)
func (*SecretVersionsIterator) TakeAll ¶
func (it *SecretVersionsIterator) TakeAll() ([]*lockbox.Version, error)
func (*SecretVersionsIterator) Value ¶
func (it *SecretVersionsIterator) Value() *lockbox.Version