bundlev1

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BundleService_GetSecret_FullMethodName = "/harp.bundle.v1.BundleService/GetSecret"
)

Variables

View Source
var BundleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "harp.bundle.v1.BundleService",
	HandlerType: (*BundleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSecret",
			Handler:    _BundleService_GetSecret_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "harp/bundle/v1/bundle_api.proto",
}

BundleService_ServiceDesc is the grpc.ServiceDesc for BundleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_harp_bundle_v1_bundle_api_proto protoreflect.FileDescriptor
View Source
var File_harp_bundle_v1_bundle_proto protoreflect.FileDescriptor
View Source
var File_harp_bundle_v1_patch_proto protoreflect.FileDescriptor
View Source
var File_harp_bundle_v1_ruleset_proto protoreflect.FileDescriptor
View Source
var File_harp_bundle_v1_template_proto protoreflect.FileDescriptor

Functions

func RegisterBundleServiceServer

func RegisterBundleServiceServer(s grpc.ServiceRegistrar, srv BundleServiceServer)

Types

type ApplicationComponentNS

type ApplicationComponentNS struct {

	// REQUIRED. Application type.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// REQUIRED. Application name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Application short description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// REQUIRED. Secret definitions.
	Secrets []*SecretSuffix `protobuf:"bytes,4,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

ApplicationComponentNS describes application components.

func (*ApplicationComponentNS) Descriptor deprecated

func (*ApplicationComponentNS) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationComponentNS.ProtoReflect.Descriptor instead.

func (*ApplicationComponentNS) GetDescription

func (x *ApplicationComponentNS) GetDescription() string

func (*ApplicationComponentNS) GetName

func (x *ApplicationComponentNS) GetName() string

func (*ApplicationComponentNS) GetSecrets

func (x *ApplicationComponentNS) GetSecrets() []*SecretSuffix

func (*ApplicationComponentNS) GetType

func (x *ApplicationComponentNS) GetType() string

func (*ApplicationComponentNS) ProtoMessage

func (*ApplicationComponentNS) ProtoMessage()

func (*ApplicationComponentNS) ProtoReflect

func (x *ApplicationComponentNS) ProtoReflect() protoreflect.Message

func (*ApplicationComponentNS) Reset

func (x *ApplicationComponentNS) Reset()

func (*ApplicationComponentNS) String

func (x *ApplicationComponentNS) String() string

type Bundle

type Bundle struct {

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations is an unstructured key value map stored with a resource that
	// may be set by external tools to store and retrieve arbitrary metadata.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// Version of the file
	Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// Secret package collection
	Packages []*Package `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"`
	// Bundle template object
	Template *Template `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty"`
	// Associated values
	Values *wrapperspb.BytesValue `protobuf:"bytes,6,opt,name=values,proto3" json:"values,omitempty"`
	// Merkle Tree root
	MerkleTreeRoot []byte `protobuf:"bytes,7,opt,name=merkle_tree_root,json=merkleTreeRoot,proto3" json:"merkle_tree_root,omitempty"`
	// User data storage
	UserData map[string]*anypb.Any `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

Bundle is a concrete secret bundle.

func (*Bundle) Descriptor deprecated

func (*Bundle) Descriptor() ([]byte, []int)

Deprecated: Use Bundle.ProtoReflect.Descriptor instead.

func (*Bundle) GetAnnotations

func (x *Bundle) GetAnnotations() map[string]string

func (*Bundle) GetLabels

func (x *Bundle) GetLabels() map[string]string

func (*Bundle) GetMerkleTreeRoot

func (x *Bundle) GetMerkleTreeRoot() []byte

func (*Bundle) GetPackages

func (x *Bundle) GetPackages() []*Package

func (*Bundle) GetTemplate

func (x *Bundle) GetTemplate() *Template

func (*Bundle) GetUserData

func (x *Bundle) GetUserData() map[string]*anypb.Any

func (*Bundle) GetValues

func (x *Bundle) GetValues() *wrapperspb.BytesValue

func (*Bundle) GetVersion

func (x *Bundle) GetVersion() uint32

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) ProtoReflect

func (x *Bundle) ProtoReflect() protoreflect.Message

func (*Bundle) Reset

func (x *Bundle) Reset()

func (*Bundle) String

func (x *Bundle) String() string

type BundleServiceClient

type BundleServiceClient interface {
	// GetSecret returns the matching RAW secret value according to requested path.
	GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
}

BundleServiceClient is the client API for BundleService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type BundleServiceServer

type BundleServiceServer interface {
	// GetSecret returns the matching RAW secret value according to requested path.
	GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
	// contains filtered or unexported methods
}

BundleServiceServer is the server API for BundleService service. All implementations must embed UnimplementedBundleServiceServer for forward compatibility

type GetSecretRequest

type GetSecretRequest struct {

	// Namepace name.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Secret path.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

GetSecretRequest describes information required to retrieve secret from container server.

func (*GetSecretRequest) Descriptor deprecated

func (*GetSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.

func (*GetSecretRequest) GetNamespace

func (x *GetSecretRequest) GetNamespace() string

func (*GetSecretRequest) GetPath

func (x *GetSecretRequest) GetPath() string

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) ProtoReflect

func (x *GetSecretRequest) ProtoReflect() protoreflect.Message

func (*GetSecretRequest) Reset

func (x *GetSecretRequest) Reset()

func (*GetSecretRequest) String

func (x *GetSecretRequest) String() string

type GetSecretResponse

type GetSecretResponse struct {

	// Namespace name.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Secret path.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Secret content returned by mapped engine.
	Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecretResponse) Descriptor deprecated

func (*GetSecretResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSecretResponse.ProtoReflect.Descriptor instead.

func (*GetSecretResponse) GetContent

func (x *GetSecretResponse) GetContent() []byte

func (*GetSecretResponse) GetNamespace

func (x *GetSecretResponse) GetNamespace() string

func (*GetSecretResponse) GetPath

func (x *GetSecretResponse) GetPath() string

func (*GetSecretResponse) ProtoMessage

func (*GetSecretResponse) ProtoMessage()

func (*GetSecretResponse) ProtoReflect

func (x *GetSecretResponse) ProtoReflect() protoreflect.Message

func (*GetSecretResponse) Reset

func (x *GetSecretResponse) Reset()

func (*GetSecretResponse) String

func (x *GetSecretResponse) String() string

type InfrastructureNS

type InfrastructureNS struct {

	// REQUIRED. Infrastructure provider
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// REQUIRED. Infrastructure provider account
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// REQUIRED. Infrastructure provider account alias (user-friendly name)
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Short descript for the infrastructure purpose.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// REQUIRED. Cloud Provider Regions
	Regions []*InfrastructureRegionNS `protobuf:"bytes,5,rep,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

InfrastructureSpec is the container for R1 secret generators.

func (*InfrastructureNS) Descriptor deprecated

func (*InfrastructureNS) Descriptor() ([]byte, []int)

Deprecated: Use InfrastructureNS.ProtoReflect.Descriptor instead.

func (*InfrastructureNS) GetAccount

func (x *InfrastructureNS) GetAccount() string

func (*InfrastructureNS) GetDescription

func (x *InfrastructureNS) GetDescription() string

func (*InfrastructureNS) GetName

func (x *InfrastructureNS) GetName() string

func (*InfrastructureNS) GetProvider

func (x *InfrastructureNS) GetProvider() string

func (*InfrastructureNS) GetRegions

func (x *InfrastructureNS) GetRegions() []*InfrastructureRegionNS

func (*InfrastructureNS) ProtoMessage

func (*InfrastructureNS) ProtoMessage()

func (*InfrastructureNS) ProtoReflect

func (x *InfrastructureNS) ProtoReflect() protoreflect.Message

func (*InfrastructureNS) Reset

func (x *InfrastructureNS) Reset()

func (*InfrastructureNS) String

func (x *InfrastructureNS) String() string

type InfrastructureRegionNS

type InfrastructureRegionNS struct {

	// REQUIRED. Infrastructure provider region name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Service secret definitions
	Services []*InfrastructureServiceNS `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

InfrastructureRegionSpec describes region partition.

func (*InfrastructureRegionNS) Descriptor deprecated

func (*InfrastructureRegionNS) Descriptor() ([]byte, []int)

Deprecated: Use InfrastructureRegionNS.ProtoReflect.Descriptor instead.

func (*InfrastructureRegionNS) GetName

func (x *InfrastructureRegionNS) GetName() string

func (*InfrastructureRegionNS) GetServices

func (x *InfrastructureRegionNS) GetServices() []*InfrastructureServiceNS

func (*InfrastructureRegionNS) ProtoMessage

func (*InfrastructureRegionNS) ProtoMessage()

func (*InfrastructureRegionNS) ProtoReflect

func (x *InfrastructureRegionNS) ProtoReflect() protoreflect.Message

func (*InfrastructureRegionNS) Reset

func (x *InfrastructureRegionNS) Reset()

func (*InfrastructureRegionNS) String

func (x *InfrastructureRegionNS) String() string

type InfrastructureServiceNS

type InfrastructureServiceNS struct {

	// REQUIRED. Service type.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// REQUIRED. Service name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Service usage short description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// REQUIRED. Secret definitions.
	Secrets []*SecretSuffix `protobuf:"bytes,4,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

InfrastructureServiceSpec describes infrastructure service.

func (*InfrastructureServiceNS) Descriptor deprecated

func (*InfrastructureServiceNS) Descriptor() ([]byte, []int)

Deprecated: Use InfrastructureServiceNS.ProtoReflect.Descriptor instead.

func (*InfrastructureServiceNS) GetDescription

func (x *InfrastructureServiceNS) GetDescription() string

func (*InfrastructureServiceNS) GetName

func (x *InfrastructureServiceNS) GetName() string

func (*InfrastructureServiceNS) GetSecrets

func (x *InfrastructureServiceNS) GetSecrets() []*SecretSuffix

func (*InfrastructureServiceNS) GetType

func (x *InfrastructureServiceNS) GetType() string

func (*InfrastructureServiceNS) ProtoMessage

func (*InfrastructureServiceNS) ProtoMessage()

func (*InfrastructureServiceNS) ProtoReflect

func (x *InfrastructureServiceNS) ProtoReflect() protoreflect.Message

func (*InfrastructureServiceNS) Reset

func (x *InfrastructureServiceNS) Reset()

func (*InfrastructureServiceNS) String

func (x *InfrastructureServiceNS) String() string

type KV

type KV struct {

	// Key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Golang type of initial value before packing
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Value must be encoded using secret.Pack method
	Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

KV contains the key, the value and the type of the value.

func (*KV) Descriptor deprecated

func (*KV) Descriptor() ([]byte, []int)

Deprecated: Use KV.ProtoReflect.Descriptor instead.

func (*KV) GetKey

func (x *KV) GetKey() string

func (*KV) GetType

func (x *KV) GetType() string

func (*KV) GetValue

func (x *KV) GetValue() []byte

func (*KV) ProtoMessage

func (*KV) ProtoMessage()

func (*KV) ProtoReflect

func (x *KV) ProtoReflect() protoreflect.Message

func (*KV) Reset

func (x *KV) Reset()

func (*KV) String

func (x *KV) String() string

type Namespaces

type Namespaces struct {

	// Infrastructure secret definitions.
	Infrastructure []*InfrastructureNS `protobuf:"bytes,1,rep,name=infrastructure,proto3" json:"infrastructure,omitempty"`
	// Platform secret definitions.
	Platform []*PlatformRegionNS `protobuf:"bytes,2,rep,name=platform,proto3" json:"platform,omitempty"`
	// Product secret definitions.
	Product []*ProductComponentNS `protobuf:"bytes,3,rep,name=product,proto3" json:"product,omitempty"`
	// Application secret definitions.
	Application []*ApplicationComponentNS `protobuf:"bytes,4,rep,name=application,proto3" json:"application,omitempty"`
	// contains filtered or unexported fields
}

Namespaces defines secret generation template specification accoridng to CSO path naming.

func (*Namespaces) Descriptor deprecated

func (*Namespaces) Descriptor() ([]byte, []int)

Deprecated: Use Namespaces.ProtoReflect.Descriptor instead.

func (*Namespaces) GetApplication

func (x *Namespaces) GetApplication() []*ApplicationComponentNS

func (*Namespaces) GetInfrastructure

func (x *Namespaces) GetInfrastructure() []*InfrastructureNS

func (*Namespaces) GetPlatform

func (x *Namespaces) GetPlatform() []*PlatformRegionNS

func (*Namespaces) GetProduct

func (x *Namespaces) GetProduct() []*ProductComponentNS

func (*Namespaces) ProtoMessage

func (*Namespaces) ProtoMessage()

func (*Namespaces) ProtoReflect

func (x *Namespaces) ProtoReflect() protoreflect.Message

func (*Namespaces) Reset

func (x *Namespaces) Reset()

func (*Namespaces) String

func (x *Namespaces) String() string

type Package

type Package struct {

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations is an unstructured key value map stored with a resource that
	// may be set by external tools to store and retrieve arbitrary metadata.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// Package name as a complete secret path (CSO compliance recommended)
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Active secret version
	Secrets *SecretChain `protobuf:"bytes,4,opt,name=secrets,proto3" json:"secrets,omitempty"`
	// SecretChain versions
	Versions map[uint32]*SecretChain `` /* 159-byte string literal not displayed */
	// User data storage
	UserData map[string]*anypb.Any `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

Package is a secret organizational unit.

func (*Package) Descriptor deprecated

func (*Package) Descriptor() ([]byte, []int)

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetAnnotations

func (x *Package) GetAnnotations() map[string]string

func (*Package) GetLabels

func (x *Package) GetLabels() map[string]string

func (*Package) GetName

func (x *Package) GetName() string

func (*Package) GetSecrets

func (x *Package) GetSecrets() *SecretChain

func (*Package) GetUserData

func (x *Package) GetUserData() map[string]*anypb.Any

func (*Package) GetVersions

func (x *Package) GetVersions() map[uint32]*SecretChain

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

func (x *Package) ProtoReflect() protoreflect.Message

func (*Package) Reset

func (x *Package) Reset()

func (*Package) String

func (x *Package) String() string

type Patch

type Patch struct {

	// Default to ""
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Default to "BundlePatch"
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// BundlePatch metadata
	Meta *PatchMeta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// BundlePatch specification
	Spec *PatchSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

Patch represents bundle patch definition.

func (*Patch) Descriptor deprecated

func (*Patch) Descriptor() ([]byte, []int)

Deprecated: Use Patch.ProtoReflect.Descriptor instead.

func (*Patch) GetApiVersion

func (x *Patch) GetApiVersion() string

func (*Patch) GetKind

func (x *Patch) GetKind() string

func (*Patch) GetMeta

func (x *Patch) GetMeta() *PatchMeta

func (*Patch) GetSpec

func (x *Patch) GetSpec() *PatchSpec

func (*Patch) ProtoMessage

func (*Patch) ProtoMessage()

func (*Patch) ProtoReflect

func (x *Patch) ProtoReflect() protoreflect.Message

func (*Patch) Reset

func (x *Patch) Reset()

func (*Patch) String

func (x *Patch) String() string

type PatchExecutor

type PatchExecutor struct {

	// Enable/Disable annotations after patch application.
	DisableAnnotations bool `protobuf:"varint,1,opt,name=disable_annotations,json=disableAnnotations,proto3" json:"disable_annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchExecutor) Descriptor deprecated

func (*PatchExecutor) Descriptor() ([]byte, []int)

Deprecated: Use PatchExecutor.ProtoReflect.Descriptor instead.

func (*PatchExecutor) GetDisableAnnotations

func (x *PatchExecutor) GetDisableAnnotations() bool

func (*PatchExecutor) ProtoMessage

func (*PatchExecutor) ProtoMessage()

func (*PatchExecutor) ProtoReflect

func (x *PatchExecutor) ProtoReflect() protoreflect.Message

func (*PatchExecutor) Reset

func (x *PatchExecutor) Reset()

func (*PatchExecutor) String

func (x *PatchExecutor) String() string

type PatchMeta

type PatchMeta struct {

	// REQUIRED. Template name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Template owner.
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// REQUIRED. Short description for template role.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

PatchMeta handles patch metadata.

func (*PatchMeta) Descriptor deprecated

func (*PatchMeta) Descriptor() ([]byte, []int)

Deprecated: Use PatchMeta.ProtoReflect.Descriptor instead.

func (*PatchMeta) GetDescription

func (x *PatchMeta) GetDescription() string

func (*PatchMeta) GetName

func (x *PatchMeta) GetName() string

func (*PatchMeta) GetOwner

func (x *PatchMeta) GetOwner() string

func (*PatchMeta) ProtoMessage

func (*PatchMeta) ProtoMessage()

func (*PatchMeta) ProtoReflect

func (x *PatchMeta) ProtoReflect() protoreflect.Message

func (*PatchMeta) Reset

func (x *PatchMeta) Reset()

func (*PatchMeta) String

func (x *PatchMeta) String() string

type PatchOperation

type PatchOperation struct {

	// Add a new case-sentitive key and value to related data map.
	// Key and Value can be templatized.
	Add map[string]string `` /* 147-byte string literal not displayed */
	// Remove a case-sensitive key from related data map.
	// Key and Value can be templatized.
	Remove []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
	// Update case-sensitive existing key from related data map.
	// Key and Value can be templatized.
	Update map[string]string `` /* 153-byte string literal not displayed */
	// Replace case-sensitive existing key using the associated value.
	// Value can be templatized.
	ReplaceKeys map[string]string `` /* 182-byte string literal not displayed */
	// Remove all keys matching these given regexp.
	RemoveKeys []string `protobuf:"bytes,5,rep,name=remove_keys,json=removeKeys,proto3" json:"remove_keys,omitempty"`
	// contains filtered or unexported fields
}

PatchOperation represents atomic patch operations executable on a k/v map.

func (*PatchOperation) Descriptor deprecated

func (*PatchOperation) Descriptor() ([]byte, []int)

Deprecated: Use PatchOperation.ProtoReflect.Descriptor instead.

func (*PatchOperation) GetAdd

func (x *PatchOperation) GetAdd() map[string]string

func (*PatchOperation) GetRemove

func (x *PatchOperation) GetRemove() []string

func (*PatchOperation) GetRemoveKeys

func (x *PatchOperation) GetRemoveKeys() []string

func (*PatchOperation) GetReplaceKeys

func (x *PatchOperation) GetReplaceKeys() map[string]string

func (*PatchOperation) GetUpdate

func (x *PatchOperation) GetUpdate() map[string]string

func (*PatchOperation) ProtoMessage

func (*PatchOperation) ProtoMessage()

func (*PatchOperation) ProtoReflect

func (x *PatchOperation) ProtoReflect() protoreflect.Message

func (*PatchOperation) Reset

func (x *PatchOperation) Reset()

func (*PatchOperation) String

func (x *PatchOperation) String() string

type PatchPackage

type PatchPackage struct {

	// Path operations.
	Path *PatchPackagePath `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Annotation operations.
	Annotations *PatchOperation `protobuf:"bytes,2,opt,name=annotations,proto3" json:"annotations,omitempty"`
	// Label operations.
	Labels *PatchOperation `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"`
	// Secret data operations.
	Data *PatchSecret `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// Flag as remove.
	Remove bool `protobuf:"varint,5,opt,name=remove,proto3" json:"remove,omitempty"`
	// Flag to create if not exist.
	Create bool `protobuf:"varint,6,opt,name=create,proto3" json:"create,omitempty"`
	// contains filtered or unexported fields
}

PatchPackage represents package operations.

func (*PatchPackage) Descriptor deprecated

func (*PatchPackage) Descriptor() ([]byte, []int)

Deprecated: Use PatchPackage.ProtoReflect.Descriptor instead.

func (*PatchPackage) GetAnnotations

func (x *PatchPackage) GetAnnotations() *PatchOperation

func (*PatchPackage) GetCreate

func (x *PatchPackage) GetCreate() bool

func (*PatchPackage) GetData

func (x *PatchPackage) GetData() *PatchSecret

func (*PatchPackage) GetLabels

func (x *PatchPackage) GetLabels() *PatchOperation

func (*PatchPackage) GetPath

func (x *PatchPackage) GetPath() *PatchPackagePath

func (*PatchPackage) GetRemove

func (x *PatchPackage) GetRemove() bool

func (*PatchPackage) ProtoMessage

func (*PatchPackage) ProtoMessage()

func (*PatchPackage) ProtoReflect

func (x *PatchPackage) ProtoReflect() protoreflect.Message

func (*PatchPackage) Reset

func (x *PatchPackage) Reset()

func (*PatchPackage) String

func (x *PatchPackage) String() string

type PatchPackagePath

type PatchPackagePath struct {

	// Template used to completely rewrite the package path.
	Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

PatchPackagePath represents package path operations.

func (*PatchPackagePath) Descriptor deprecated

func (*PatchPackagePath) Descriptor() ([]byte, []int)

Deprecated: Use PatchPackagePath.ProtoReflect.Descriptor instead.

func (*PatchPackagePath) GetTemplate

func (x *PatchPackagePath) GetTemplate() string

func (*PatchPackagePath) ProtoMessage

func (*PatchPackagePath) ProtoMessage()

func (*PatchPackagePath) ProtoReflect

func (x *PatchPackagePath) ProtoReflect() protoreflect.Message

func (*PatchPackagePath) Reset

func (x *PatchPackagePath) Reset()

func (*PatchPackagePath) String

func (x *PatchPackagePath) String() string

type PatchRule

type PatchRule struct {

	// Rule identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Used to determine is patch strategy is applicable to the package.
	Selector *PatchSelector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
	// Package patch operations.
	Package *PatchPackage `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

PatchRule represents an operation to apply to a given bundle.

func (*PatchRule) Descriptor deprecated

func (*PatchRule) Descriptor() ([]byte, []int)

Deprecated: Use PatchRule.ProtoReflect.Descriptor instead.

func (*PatchRule) GetId

func (x *PatchRule) GetId() string

func (*PatchRule) GetPackage

func (x *PatchRule) GetPackage() *PatchPackage

func (*PatchRule) GetSelector

func (x *PatchRule) GetSelector() *PatchSelector

func (*PatchRule) ProtoMessage

func (*PatchRule) ProtoMessage()

func (*PatchRule) ProtoReflect

func (x *PatchRule) ProtoReflect() protoreflect.Message

func (*PatchRule) Reset

func (x *PatchRule) Reset()

func (*PatchRule) String

func (x *PatchRule) String() string

type PatchSecret

type PatchSecret struct {

	// Secret data annotation operations.
	Annotations *PatchOperation `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"`
	// Secret data label operations.
	Labels *PatchOperation `protobuf:"bytes,2,opt,name=labels,proto3" json:"labels,omitempty"`
	// Template to override secret data.
	Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
	// Used to target specific keys inside the secret data.
	Kv *PatchOperation `protobuf:"bytes,4,opt,name=kv,proto3" json:"kv,omitempty"`
	// contains filtered or unexported fields
}

PatchSecret represents secret data operations.

func (*PatchSecret) Descriptor deprecated

func (*PatchSecret) Descriptor() ([]byte, []int)

Deprecated: Use PatchSecret.ProtoReflect.Descriptor instead.

func (*PatchSecret) GetAnnotations

func (x *PatchSecret) GetAnnotations() *PatchOperation

func (*PatchSecret) GetKv

func (x *PatchSecret) GetKv() *PatchOperation

func (*PatchSecret) GetLabels

func (x *PatchSecret) GetLabels() *PatchOperation

func (*PatchSecret) GetTemplate

func (x *PatchSecret) GetTemplate() string

func (*PatchSecret) ProtoMessage

func (*PatchSecret) ProtoMessage()

func (*PatchSecret) ProtoReflect

func (x *PatchSecret) ProtoReflect() protoreflect.Message

func (*PatchSecret) Reset

func (x *PatchSecret) Reset()

func (*PatchSecret) String

func (x *PatchSecret) String() string

type PatchSelector

type PatchSelector struct {

	// Match a package by using its path (secret path).
	MatchPath *PatchSelectorMatchPath `protobuf:"bytes,1,opt,name=match_path,json=matchPath,proto3" json:"match_path,omitempty"`
	// Match a package using a JMESPath query.
	JmesPath string `protobuf:"bytes,2,opt,name=jmes_path,json=jmesPath,proto3" json:"jmes_path,omitempty"`
	// Match a package using a Rego policy.
	Rego string `protobuf:"bytes,3,opt,name=rego,proto3" json:"rego,omitempty"`
	// Match a package using a REgo policy stored in an external file.
	RegoFile string `protobuf:"bytes,4,opt,name=rego_file,json=regoFile,proto3" json:"rego_file,omitempty"`
	// Match a package by secret.
	MatchSecret *PatchSelectorMatchSecret `protobuf:"bytes,5,opt,name=match_secret,json=matchSecret,proto3" json:"match_secret,omitempty"`
	// Match a package using CEL expressions.
	Cel []string `protobuf:"bytes,6,rep,name=cel,proto3" json:"cel,omitempty"`
	// contains filtered or unexported fields
}

PatchSelector represents selecting strategies used to match a bundle resource.

func (*PatchSelector) Descriptor deprecated

func (*PatchSelector) Descriptor() ([]byte, []int)

Deprecated: Use PatchSelector.ProtoReflect.Descriptor instead.

func (*PatchSelector) GetCel

func (x *PatchSelector) GetCel() []string

func (*PatchSelector) GetJmesPath

func (x *PatchSelector) GetJmesPath() string

func (*PatchSelector) GetMatchPath

func (x *PatchSelector) GetMatchPath() *PatchSelectorMatchPath

func (*PatchSelector) GetMatchSecret

func (x *PatchSelector) GetMatchSecret() *PatchSelectorMatchSecret

func (*PatchSelector) GetRego

func (x *PatchSelector) GetRego() string

func (*PatchSelector) GetRegoFile

func (x *PatchSelector) GetRegoFile() string

func (*PatchSelector) ProtoMessage

func (*PatchSelector) ProtoMessage()

func (*PatchSelector) ProtoReflect

func (x *PatchSelector) ProtoReflect() protoreflect.Message

func (*PatchSelector) Reset

func (x *PatchSelector) Reset()

func (*PatchSelector) String

func (x *PatchSelector) String() string

type PatchSelectorMatchPath

type PatchSelectorMatchPath struct {

	// Strict case-sensitive path matching.
	// Value can be templatized.
	Strict string `protobuf:"bytes,1,opt,name=strict,proto3" json:"strict,omitempty"`
	// Regex path matching.
	// Value can be templatized.
	Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
	// Glob path matching. - https://github.com/gobwas/glob
	// Value can be templatized.
	Glob string `protobuf:"bytes,3,opt,name=glob,proto3" json:"glob,omitempty"`
	// contains filtered or unexported fields
}

PatchSelectorMatchPath represents package path matching strategies.

func (*PatchSelectorMatchPath) Descriptor deprecated

func (*PatchSelectorMatchPath) Descriptor() ([]byte, []int)

Deprecated: Use PatchSelectorMatchPath.ProtoReflect.Descriptor instead.

func (*PatchSelectorMatchPath) GetGlob

func (x *PatchSelectorMatchPath) GetGlob() string

func (*PatchSelectorMatchPath) GetRegex

func (x *PatchSelectorMatchPath) GetRegex() string

func (*PatchSelectorMatchPath) GetStrict

func (x *PatchSelectorMatchPath) GetStrict() string

func (*PatchSelectorMatchPath) ProtoMessage

func (*PatchSelectorMatchPath) ProtoMessage()

func (*PatchSelectorMatchPath) ProtoReflect

func (x *PatchSelectorMatchPath) ProtoReflect() protoreflect.Message

func (*PatchSelectorMatchPath) Reset

func (x *PatchSelectorMatchPath) Reset()

func (*PatchSelectorMatchPath) String

func (x *PatchSelectorMatchPath) String() string

type PatchSelectorMatchSecret

type PatchSelectorMatchSecret struct {

	// Strict case-sensitive secret matching.
	// Value can be templatized.
	Strict string `protobuf:"bytes,1,opt,name=strict,proto3" json:"strict,omitempty"`
	// Regex secret matching.
	// Value can be templatized.
	Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
	// Glob path matching. - https://github.com/gobwas/glob
	// Value can be templatized.
	Glob string `protobuf:"bytes,3,opt,name=glob,proto3" json:"glob,omitempty"`
	// contains filtered or unexported fields
}

PatchSelectorMatchPath represents package path matching strategies.

func (*PatchSelectorMatchSecret) Descriptor deprecated

func (*PatchSelectorMatchSecret) Descriptor() ([]byte, []int)

Deprecated: Use PatchSelectorMatchSecret.ProtoReflect.Descriptor instead.

func (*PatchSelectorMatchSecret) GetGlob

func (x *PatchSelectorMatchSecret) GetGlob() string

func (*PatchSelectorMatchSecret) GetRegex

func (x *PatchSelectorMatchSecret) GetRegex() string

func (*PatchSelectorMatchSecret) GetStrict

func (x *PatchSelectorMatchSecret) GetStrict() string

func (*PatchSelectorMatchSecret) ProtoMessage

func (*PatchSelectorMatchSecret) ProtoMessage()

func (*PatchSelectorMatchSecret) ProtoReflect

func (x *PatchSelectorMatchSecret) ProtoReflect() protoreflect.Message

func (*PatchSelectorMatchSecret) Reset

func (x *PatchSelectorMatchSecret) Reset()

func (*PatchSelectorMatchSecret) String

func (x *PatchSelectorMatchSecret) String() string

type PatchSpec

type PatchSpec struct {
	Executor *PatchExecutor `protobuf:"bytes,1,opt,name=executor,proto3" json:"executor,omitempty"`
	// Patch selector rules. Applied in the declaration order.
	Rules []*PatchRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

PatchSpec repesetns bundle patch specification holder.

func (*PatchSpec) Descriptor deprecated

func (*PatchSpec) Descriptor() ([]byte, []int)

Deprecated: Use PatchSpec.ProtoReflect.Descriptor instead.

func (*PatchSpec) GetExecutor

func (x *PatchSpec) GetExecutor() *PatchExecutor

func (*PatchSpec) GetRules

func (x *PatchSpec) GetRules() []*PatchRule

func (*PatchSpec) ProtoMessage

func (*PatchSpec) ProtoMessage()

func (*PatchSpec) ProtoReflect

func (x *PatchSpec) ProtoReflect() protoreflect.Message

func (*PatchSpec) Reset

func (x *PatchSpec) Reset()

func (*PatchSpec) String

func (x *PatchSpec) String() string

type PlatformComponentNS

type PlatformComponentNS struct {

	// REQUIRED. Component type.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// REQUIRED. Component name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Component short description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// REQUIRED. Secret definitions.
	Secrets []*SecretSuffix `protobuf:"bytes,4,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

PlatformComponentSpec describes platform components.

func (*PlatformComponentNS) Descriptor deprecated

func (*PlatformComponentNS) Descriptor() ([]byte, []int)

Deprecated: Use PlatformComponentNS.ProtoReflect.Descriptor instead.

func (*PlatformComponentNS) GetDescription

func (x *PlatformComponentNS) GetDescription() string

func (*PlatformComponentNS) GetName

func (x *PlatformComponentNS) GetName() string

func (*PlatformComponentNS) GetSecrets

func (x *PlatformComponentNS) GetSecrets() []*SecretSuffix

func (*PlatformComponentNS) GetType

func (x *PlatformComponentNS) GetType() string

func (*PlatformComponentNS) ProtoMessage

func (*PlatformComponentNS) ProtoMessage()

func (*PlatformComponentNS) ProtoReflect

func (x *PlatformComponentNS) ProtoReflect() protoreflect.Message

func (*PlatformComponentNS) Reset

func (x *PlatformComponentNS) Reset()

func (*PlatformComponentNS) String

func (x *PlatformComponentNS) String() string

type PlatformRegionNS

type PlatformRegionNS struct {

	// REQUIRED. Platform region name.
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// REQUIRED. Platform region short description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// REQUIRED. Platform components deployed in the given region.
	Components []*PlatformComponentNS `protobuf:"bytes,3,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

PlatformRegionNS is the container for R2 secret generators.

func (*PlatformRegionNS) Descriptor deprecated

func (*PlatformRegionNS) Descriptor() ([]byte, []int)

Deprecated: Use PlatformRegionNS.ProtoReflect.Descriptor instead.

func (*PlatformRegionNS) GetComponents

func (x *PlatformRegionNS) GetComponents() []*PlatformComponentNS

func (*PlatformRegionNS) GetDescription

func (x *PlatformRegionNS) GetDescription() string

func (*PlatformRegionNS) GetRegion

func (x *PlatformRegionNS) GetRegion() string

func (*PlatformRegionNS) ProtoMessage

func (*PlatformRegionNS) ProtoMessage()

func (*PlatformRegionNS) ProtoReflect

func (x *PlatformRegionNS) ProtoReflect() protoreflect.Message

func (*PlatformRegionNS) Reset

func (x *PlatformRegionNS) Reset()

func (*PlatformRegionNS) String

func (x *PlatformRegionNS) String() string

type ProductComponentNS

type ProductComponentNS struct {

	// REQUIRED. Product type.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// REQUIRED. Product name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Product short description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// REQUIRED. Secret definitions.
	Secrets []*SecretSuffix `protobuf:"bytes,4,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

ProductComponentNS describes product components.

func (*ProductComponentNS) Descriptor deprecated

func (*ProductComponentNS) Descriptor() ([]byte, []int)

Deprecated: Use ProductComponentNS.ProtoReflect.Descriptor instead.

func (*ProductComponentNS) GetDescription

func (x *ProductComponentNS) GetDescription() string

func (*ProductComponentNS) GetName

func (x *ProductComponentNS) GetName() string

func (*ProductComponentNS) GetSecrets

func (x *ProductComponentNS) GetSecrets() []*SecretSuffix

func (*ProductComponentNS) GetType

func (x *ProductComponentNS) GetType() string

func (*ProductComponentNS) ProtoMessage

func (*ProductComponentNS) ProtoMessage()

func (*ProductComponentNS) ProtoReflect

func (x *ProductComponentNS) ProtoReflect() protoreflect.Message

func (*ProductComponentNS) Reset

func (x *ProductComponentNS) Reset()

func (*ProductComponentNS) String

func (x *ProductComponentNS) String() string

type Rule

type Rule struct {

	// REQUIRED. Rule name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// OPTIONAL. Rule description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// REQUIRED. Rule path matcher filter.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// OPTIONAL. CEL Constraint collection.
	Constraints []string `protobuf:"bytes,4,rep,name=constraints,proto3" json:"constraints,omitempty"`
	// OPTIONAL. Rego policy.
	Rego string `protobuf:"bytes,5,opt,name=rego,proto3" json:"rego,omitempty"`
	// OPTIONAL. Rego policy file.
	RegoFile string `protobuf:"bytes,6,opt,name=rego_file,json=regoFile,proto3" json:"rego_file,omitempty"`
	// contains filtered or unexported fields
}

Rule represents linter rule specification.

func (*Rule) Descriptor deprecated

func (*Rule) Descriptor() ([]byte, []int)

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetConstraints

func (x *Rule) GetConstraints() []string

func (*Rule) GetDescription

func (x *Rule) GetDescription() string

func (*Rule) GetName

func (x *Rule) GetName() string

func (*Rule) GetPath

func (x *Rule) GetPath() string

func (*Rule) GetRego

func (x *Rule) GetRego() string

func (*Rule) GetRegoFile

func (x *Rule) GetRegoFile() string

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

func (x *Rule) ProtoReflect() protoreflect.Message

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

type RuleSet

type RuleSet struct {

	// Default to ""
	ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Default to "RuleSet"
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// RuleSet metadata
	Meta *RuleSetMeta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// RuleSet specification
	Spec *RuleSetSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

RuleSet represents bundle linter ruleset definition.

func (*RuleSet) Descriptor deprecated

func (*RuleSet) Descriptor() ([]byte, []int)

Deprecated: Use RuleSet.ProtoReflect.Descriptor instead.

func (*RuleSet) GetApiVersion

func (x *RuleSet) GetApiVersion() string

func (*RuleSet) GetKind

func (x *RuleSet) GetKind() string

func (*RuleSet) GetMeta

func (x *RuleSet) GetMeta() *RuleSetMeta

func (*RuleSet) GetSpec

func (x *RuleSet) GetSpec() *RuleSetSpec

func (*RuleSet) ProtoMessage

func (*RuleSet) ProtoMessage()

func (*RuleSet) ProtoReflect

func (x *RuleSet) ProtoReflect() protoreflect.Message

func (*RuleSet) Reset

func (x *RuleSet) Reset()

func (*RuleSet) String

func (x *RuleSet) String() string

type RuleSetMeta

type RuleSetMeta struct {

	// REQUIRED. RuleSet name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. RuleSet owner.
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// REQUIRED. Short description for ruleset.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

PatchMeta handles patch metadata.

func (*RuleSetMeta) Descriptor deprecated

func (*RuleSetMeta) Descriptor() ([]byte, []int)

Deprecated: Use RuleSetMeta.ProtoReflect.Descriptor instead.

func (*RuleSetMeta) GetDescription

func (x *RuleSetMeta) GetDescription() string

func (*RuleSetMeta) GetName

func (x *RuleSetMeta) GetName() string

func (*RuleSetMeta) GetOwner

func (x *RuleSetMeta) GetOwner() string

func (*RuleSetMeta) ProtoMessage

func (*RuleSetMeta) ProtoMessage()

func (*RuleSetMeta) ProtoReflect

func (x *RuleSetMeta) ProtoReflect() protoreflect.Message

func (*RuleSetMeta) Reset

func (x *RuleSetMeta) Reset()

func (*RuleSetMeta) String

func (x *RuleSetMeta) String() string

type RuleSetSpec

type RuleSetSpec struct {

	// Rule collection.
	Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

RuleSetSpec repesents ruleset specification holder.

func (*RuleSetSpec) Descriptor deprecated

func (*RuleSetSpec) Descriptor() ([]byte, []int)

Deprecated: Use RuleSetSpec.ProtoReflect.Descriptor instead.

func (*RuleSetSpec) GetRules

func (x *RuleSetSpec) GetRules() []*Rule

func (*RuleSetSpec) ProtoMessage

func (*RuleSetSpec) ProtoMessage()

func (*RuleSetSpec) ProtoReflect

func (x *RuleSetSpec) ProtoReflect() protoreflect.Message

func (*RuleSetSpec) Reset

func (x *RuleSetSpec) Reset()

func (*RuleSetSpec) String

func (x *RuleSetSpec) String() string

type SecretChain

type SecretChain struct {

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Annotations is an unstructured key value map stored with a resource that
	// may be set by external tools to store and retrieve arbitrary metadata.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// Version identifier
	Version uint32 `protobuf:"fixed32,3,opt,name=version,proto3" json:"version,omitempty"`
	// Secret K/V collection
	Data []*KV `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
	// Link to previous version
	PreviousVersion *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty"`
	// Link to next version
	NextVersion *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=next_version,json=nextVersion,proto3" json:"next_version,omitempty"`
	// Locked buffer when encryption is enabled
	Locked *wrapperspb.BytesValue `protobuf:"bytes,7,opt,name=locked,proto3" json:"locked,omitempty"`
	// User data storage
	UserData map[string]*anypb.Any `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

SecretChain describe a secret version chain.

func (*SecretChain) Descriptor deprecated

func (*SecretChain) Descriptor() ([]byte, []int)

Deprecated: Use SecretChain.ProtoReflect.Descriptor instead.

func (*SecretChain) GetAnnotations

func (x *SecretChain) GetAnnotations() map[string]string

func (*SecretChain) GetData

func (x *SecretChain) GetData() []*KV

func (*SecretChain) GetLabels

func (x *SecretChain) GetLabels() map[string]string

func (*SecretChain) GetLocked

func (x *SecretChain) GetLocked() *wrapperspb.BytesValue

func (*SecretChain) GetNextVersion

func (x *SecretChain) GetNextVersion() *wrapperspb.UInt32Value

func (*SecretChain) GetPreviousVersion

func (x *SecretChain) GetPreviousVersion() *wrapperspb.UInt32Value

func (*SecretChain) GetUserData

func (x *SecretChain) GetUserData() map[string]*anypb.Any

func (*SecretChain) GetVersion

func (x *SecretChain) GetVersion() uint32

func (*SecretChain) ProtoMessage

func (*SecretChain) ProtoMessage()

func (*SecretChain) ProtoReflect

func (x *SecretChain) ProtoReflect() protoreflect.Message

func (*SecretChain) Reset

func (x *SecretChain) Reset()

func (*SecretChain) String

func (x *SecretChain) String() string

type SecretSuffix

type SecretSuffix struct {

	// REQUIRED. CSO Suffix.
	Suffix string `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"`
	// REQUIRED. Short description of the purpose of the secret.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Defines if secret is managed or not (generated vs static secret).
	Vendor bool `protobuf:"varint,3,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// JSON Template for K/V Generation.
	Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"`
	// String Content for file embedding process. (filename / content)
	Content map[string]string `` /* 155-byte string literal not displayed */
	// Secret labels contains identifying information used for query (i.e. Patch selector).
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Secret annotations not used internally used by external harp environments.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

SecretSuffix holds secret value generation details.

func (*SecretSuffix) Descriptor deprecated

func (*SecretSuffix) Descriptor() ([]byte, []int)

Deprecated: Use SecretSuffix.ProtoReflect.Descriptor instead.

func (*SecretSuffix) GetAnnotations

func (x *SecretSuffix) GetAnnotations() map[string]string

func (*SecretSuffix) GetContent

func (x *SecretSuffix) GetContent() map[string]string

func (*SecretSuffix) GetDescription

func (x *SecretSuffix) GetDescription() string

func (*SecretSuffix) GetLabels

func (x *SecretSuffix) GetLabels() map[string]string

func (*SecretSuffix) GetSuffix

func (x *SecretSuffix) GetSuffix() string

func (*SecretSuffix) GetTemplate

func (x *SecretSuffix) GetTemplate() string

func (*SecretSuffix) GetVendor

func (x *SecretSuffix) GetVendor() bool

func (*SecretSuffix) ProtoMessage

func (*SecretSuffix) ProtoMessage()

func (*SecretSuffix) ProtoReflect

func (x *SecretSuffix) ProtoReflect() protoreflect.Message

func (*SecretSuffix) Reset

func (x *SecretSuffix) Reset()

func (*SecretSuffix) String

func (x *SecretSuffix) String() string

type Selector

type Selector struct {

	// Quality defines default quality value for CSO path builder.
	Quality string `protobuf:"bytes,1,opt,name=quality,proto3" json:"quality,omitempty"`
	// Platform defines default platform value in CSO path builder.
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	// Product defines default product value in CSO path builder.
	Product string `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"`
	// Version defines default version value in CSO path builder.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// Component defines default component value in CSO path builder.
	Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"`
	// contains filtered or unexported fields
}

BundleTemplateSelector defines secret path generator default values.

func (*Selector) Descriptor deprecated

func (*Selector) Descriptor() ([]byte, []int)

Deprecated: Use Selector.ProtoReflect.Descriptor instead.

func (*Selector) GetComponent

func (x *Selector) GetComponent() string

func (*Selector) GetPlatform

func (x *Selector) GetPlatform() string

func (*Selector) GetProduct

func (x *Selector) GetProduct() string

func (*Selector) GetQuality

func (x *Selector) GetQuality() string

func (*Selector) GetVersion

func (x *Selector) GetVersion() string

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect

func (x *Selector) ProtoReflect() protoreflect.Message

func (*Selector) Reset

func (x *Selector) Reset()

func (*Selector) String

func (x *Selector) String() string

type Template

type Template struct {
	ApiVersion string        `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	Kind       string        `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Meta       *TemplateMeta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	Spec       *TemplateSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

Template represents bundle template generation definition.

func (*Template) Descriptor deprecated

func (*Template) Descriptor() ([]byte, []int)

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetApiVersion

func (x *Template) GetApiVersion() string

func (*Template) GetKind

func (x *Template) GetKind() string

func (*Template) GetMeta

func (x *Template) GetMeta() *TemplateMeta

func (*Template) GetSpec

func (x *Template) GetSpec() *TemplateSpec

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) ProtoReflect

func (x *Template) ProtoReflect() protoreflect.Message

func (*Template) Reset

func (x *Template) Reset()

func (*Template) String

func (x *Template) String() string

type TemplateMeta

type TemplateMeta struct {

	// REQUIRED. Template name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Template owner.
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// REQUIRED. Short description for template role.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

TemplateMeta handles bundle template metadata.

func (*TemplateMeta) Descriptor deprecated

func (*TemplateMeta) Descriptor() ([]byte, []int)

Deprecated: Use TemplateMeta.ProtoReflect.Descriptor instead.

func (*TemplateMeta) GetDescription

func (x *TemplateMeta) GetDescription() string

func (*TemplateMeta) GetName

func (x *TemplateMeta) GetName() string

func (*TemplateMeta) GetOwner

func (x *TemplateMeta) GetOwner() string

func (*TemplateMeta) ProtoMessage

func (*TemplateMeta) ProtoMessage()

func (*TemplateMeta) ProtoReflect

func (x *TemplateMeta) ProtoReflect() protoreflect.Message

func (*TemplateMeta) Reset

func (x *TemplateMeta) Reset()

func (*TemplateMeta) String

func (x *TemplateMeta) String() string

type TemplateSpec

type TemplateSpec struct {
	Selector   *Selector   `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	Namespaces *Namespaces `protobuf:"bytes,2,opt,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

TemplateSpec handles bundle template specification.

func (*TemplateSpec) Descriptor deprecated

func (*TemplateSpec) Descriptor() ([]byte, []int)

Deprecated: Use TemplateSpec.ProtoReflect.Descriptor instead.

func (*TemplateSpec) GetNamespaces

func (x *TemplateSpec) GetNamespaces() *Namespaces

func (*TemplateSpec) GetSelector

func (x *TemplateSpec) GetSelector() *Selector

func (*TemplateSpec) ProtoMessage

func (*TemplateSpec) ProtoMessage()

func (*TemplateSpec) ProtoReflect

func (x *TemplateSpec) ProtoReflect() protoreflect.Message

func (*TemplateSpec) Reset

func (x *TemplateSpec) Reset()

func (*TemplateSpec) String

func (x *TemplateSpec) String() string

type UnimplementedBundleServiceServer

type UnimplementedBundleServiceServer struct{}

UnimplementedBundleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBundleServiceServer) GetSecret

type UnsafeBundleServiceServer

type UnsafeBundleServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBundleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BundleServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL