Documentation ¶
Index ¶
- Variables
- func RegisterBundleAPIServer(s grpc.ServiceRegistrar, srv BundleAPIServer)
- type ApplicationComponentNS
- func (*ApplicationComponentNS) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationComponentNS) GetDescription() string
- func (x *ApplicationComponentNS) GetName() string
- func (x *ApplicationComponentNS) GetSecrets() []*SecretSuffix
- func (x *ApplicationComponentNS) GetType() string
- func (*ApplicationComponentNS) ProtoMessage()
- func (x *ApplicationComponentNS) ProtoReflect() protoreflect.Message
- func (x *ApplicationComponentNS) Reset()
- func (x *ApplicationComponentNS) String() string
- type Bundle
- func (*Bundle) Descriptor() ([]byte, []int)deprecated
- func (x *Bundle) GetAnnotations() map[string]string
- func (x *Bundle) GetLabels() map[string]string
- func (x *Bundle) GetMerkleTreeRoot() []byte
- func (x *Bundle) GetPackages() []*Package
- func (x *Bundle) GetTemplate() *Template
- func (x *Bundle) GetValues() *wrapperspb.BytesValue
- func (x *Bundle) GetVersion() uint32
- func (*Bundle) ProtoMessage()
- func (x *Bundle) ProtoReflect() protoreflect.Message
- func (x *Bundle) Reset()
- func (x *Bundle) String() string
- type BundleAPIClient
- type BundleAPIServer
- type GetSecretRequest
- func (*GetSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretRequest) GetNamespace() string
- func (x *GetSecretRequest) GetPath() string
- func (*GetSecretRequest) ProtoMessage()
- func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretRequest) Reset()
- func (x *GetSecretRequest) String() string
- type GetSecretResponse
- func (*GetSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretResponse) GetContent() []byte
- func (x *GetSecretResponse) GetNamespace() string
- func (x *GetSecretResponse) GetPath() string
- func (*GetSecretResponse) ProtoMessage()
- func (x *GetSecretResponse) ProtoReflect() protoreflect.Message
- func (x *GetSecretResponse) Reset()
- func (x *GetSecretResponse) String() string
- type InfrastructureNS
- func (*InfrastructureNS) Descriptor() ([]byte, []int)deprecated
- func (x *InfrastructureNS) GetAccount() string
- func (x *InfrastructureNS) GetDescription() string
- func (x *InfrastructureNS) GetName() string
- func (x *InfrastructureNS) GetProvider() string
- func (x *InfrastructureNS) GetRegions() []*InfrastructureRegionNS
- func (*InfrastructureNS) ProtoMessage()
- func (x *InfrastructureNS) ProtoReflect() protoreflect.Message
- func (x *InfrastructureNS) Reset()
- func (x *InfrastructureNS) String() string
- type InfrastructureRegionNS
- func (*InfrastructureRegionNS) Descriptor() ([]byte, []int)deprecated
- func (x *InfrastructureRegionNS) GetName() string
- func (x *InfrastructureRegionNS) GetServices() []*InfrastructureServiceNS
- func (*InfrastructureRegionNS) ProtoMessage()
- func (x *InfrastructureRegionNS) ProtoReflect() protoreflect.Message
- func (x *InfrastructureRegionNS) Reset()
- func (x *InfrastructureRegionNS) String() string
- type InfrastructureServiceNS
- func (*InfrastructureServiceNS) Descriptor() ([]byte, []int)deprecated
- func (x *InfrastructureServiceNS) GetDescription() string
- func (x *InfrastructureServiceNS) GetName() string
- func (x *InfrastructureServiceNS) GetSecrets() []*SecretSuffix
- func (x *InfrastructureServiceNS) GetType() string
- func (*InfrastructureServiceNS) ProtoMessage()
- func (x *InfrastructureServiceNS) ProtoReflect() protoreflect.Message
- func (x *InfrastructureServiceNS) Reset()
- func (x *InfrastructureServiceNS) String() string
- type KV
- type Namespaces
- func (*Namespaces) Descriptor() ([]byte, []int)deprecated
- func (x *Namespaces) GetApplication() []*ApplicationComponentNS
- func (x *Namespaces) GetInfrastructure() []*InfrastructureNS
- func (x *Namespaces) GetPlatform() []*PlatformRegionNS
- func (x *Namespaces) GetProduct() []*ProductComponentNS
- func (*Namespaces) ProtoMessage()
- func (x *Namespaces) ProtoReflect() protoreflect.Message
- func (x *Namespaces) Reset()
- func (x *Namespaces) String() string
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetAnnotations() map[string]string
- func (x *Package) GetLabels() map[string]string
- func (x *Package) GetName() string
- func (x *Package) GetSecrets() *SecretChain
- func (x *Package) GetVersions() map[uint32]*SecretChain
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type Patch
- func (*Patch) Descriptor() ([]byte, []int)deprecated
- func (x *Patch) GetApiVersion() string
- func (x *Patch) GetKind() string
- func (x *Patch) GetMeta() *PatchMeta
- func (x *Patch) GetSpec() *PatchSpec
- func (*Patch) ProtoMessage()
- func (x *Patch) ProtoReflect() protoreflect.Message
- func (x *Patch) Reset()
- func (x *Patch) String() string
- type PatchMeta
- func (*PatchMeta) Descriptor() ([]byte, []int)deprecated
- func (x *PatchMeta) GetDescription() string
- func (x *PatchMeta) GetName() string
- func (x *PatchMeta) GetOwner() string
- func (*PatchMeta) ProtoMessage()
- func (x *PatchMeta) ProtoReflect() protoreflect.Message
- func (x *PatchMeta) Reset()
- func (x *PatchMeta) String() string
- type PatchOperation
- func (*PatchOperation) Descriptor() ([]byte, []int)deprecated
- func (x *PatchOperation) GetAdd() map[string]string
- func (x *PatchOperation) GetRemove() []string
- func (x *PatchOperation) GetUpdate() map[string]string
- func (*PatchOperation) ProtoMessage()
- func (x *PatchOperation) ProtoReflect() protoreflect.Message
- func (x *PatchOperation) Reset()
- func (x *PatchOperation) String() string
- type PatchPackage
- func (*PatchPackage) Descriptor() ([]byte, []int)deprecated
- func (x *PatchPackage) GetAnnotations() *PatchOperation
- func (x *PatchPackage) GetCreate() bool
- func (x *PatchPackage) GetData() *PatchSecret
- func (x *PatchPackage) GetLabels() *PatchOperation
- func (x *PatchPackage) GetPath() *PatchPackagePath
- func (x *PatchPackage) GetRemove() bool
- func (*PatchPackage) ProtoMessage()
- func (x *PatchPackage) ProtoReflect() protoreflect.Message
- func (x *PatchPackage) Reset()
- func (x *PatchPackage) String() string
- type PatchPackagePath
- type PatchRule
- func (*PatchRule) Descriptor() ([]byte, []int)deprecated
- func (x *PatchRule) GetPackage() *PatchPackage
- func (x *PatchRule) GetSelector() *PatchSelector
- func (*PatchRule) ProtoMessage()
- func (x *PatchRule) ProtoReflect() protoreflect.Message
- func (x *PatchRule) Reset()
- func (x *PatchRule) String() string
- type PatchSecret
- func (*PatchSecret) Descriptor() ([]byte, []int)deprecated
- func (x *PatchSecret) GetAnnotations() *PatchOperation
- func (x *PatchSecret) GetKv() *PatchOperation
- func (x *PatchSecret) GetLabels() *PatchOperation
- func (x *PatchSecret) GetTemplate() string
- func (*PatchSecret) ProtoMessage()
- func (x *PatchSecret) ProtoReflect() protoreflect.Message
- func (x *PatchSecret) Reset()
- func (x *PatchSecret) String() string
- type PatchSelector
- func (*PatchSelector) Descriptor() ([]byte, []int)deprecated
- func (x *PatchSelector) GetJmesPath() string
- func (x *PatchSelector) GetMatchPath() *PatchSelectorMatchPath
- func (*PatchSelector) ProtoMessage()
- func (x *PatchSelector) ProtoReflect() protoreflect.Message
- func (x *PatchSelector) Reset()
- func (x *PatchSelector) String() string
- type PatchSelectorMatchPath
- func (*PatchSelectorMatchPath) Descriptor() ([]byte, []int)deprecated
- func (x *PatchSelectorMatchPath) GetRegex() string
- func (x *PatchSelectorMatchPath) GetStrict() string
- func (*PatchSelectorMatchPath) ProtoMessage()
- func (x *PatchSelectorMatchPath) ProtoReflect() protoreflect.Message
- func (x *PatchSelectorMatchPath) Reset()
- func (x *PatchSelectorMatchPath) String() string
- type PatchSpec
- type PlatformComponentNS
- func (*PlatformComponentNS) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformComponentNS) GetDescription() string
- func (x *PlatformComponentNS) GetName() string
- func (x *PlatformComponentNS) GetSecrets() []*SecretSuffix
- func (x *PlatformComponentNS) GetType() string
- func (*PlatformComponentNS) ProtoMessage()
- func (x *PlatformComponentNS) ProtoReflect() protoreflect.Message
- func (x *PlatformComponentNS) Reset()
- func (x *PlatformComponentNS) String() string
- type PlatformRegionNS
- func (*PlatformRegionNS) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformRegionNS) GetComponents() []*PlatformComponentNS
- func (x *PlatformRegionNS) GetDescription() string
- func (x *PlatformRegionNS) GetRegion() string
- func (*PlatformRegionNS) ProtoMessage()
- func (x *PlatformRegionNS) ProtoReflect() protoreflect.Message
- func (x *PlatformRegionNS) Reset()
- func (x *PlatformRegionNS) String() string
- type ProductComponentNS
- func (*ProductComponentNS) Descriptor() ([]byte, []int)deprecated
- func (x *ProductComponentNS) GetDescription() string
- func (x *ProductComponentNS) GetName() string
- func (x *ProductComponentNS) GetSecrets() []*SecretSuffix
- func (x *ProductComponentNS) GetType() string
- func (*ProductComponentNS) ProtoMessage()
- func (x *ProductComponentNS) ProtoReflect() protoreflect.Message
- func (x *ProductComponentNS) Reset()
- func (x *ProductComponentNS) String() string
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetConstraints() []string
- func (x *Rule) GetDescription() string
- func (x *Rule) GetName() string
- func (x *Rule) GetPath() string
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type RuleSet
- func (*RuleSet) Descriptor() ([]byte, []int)deprecated
- func (x *RuleSet) GetApiVersion() string
- func (x *RuleSet) GetKind() string
- func (x *RuleSet) GetMeta() *RuleSetMeta
- func (x *RuleSet) GetSpec() *RuleSetSpec
- func (*RuleSet) ProtoMessage()
- func (x *RuleSet) ProtoReflect() protoreflect.Message
- func (x *RuleSet) Reset()
- func (x *RuleSet) String() string
- type RuleSetMeta
- func (*RuleSetMeta) Descriptor() ([]byte, []int)deprecated
- func (x *RuleSetMeta) GetDescription() string
- func (x *RuleSetMeta) GetName() string
- func (x *RuleSetMeta) GetOwner() string
- func (*RuleSetMeta) ProtoMessage()
- func (x *RuleSetMeta) ProtoReflect() protoreflect.Message
- func (x *RuleSetMeta) Reset()
- func (x *RuleSetMeta) String() string
- type RuleSetSpec
- type SecretChain
- func (*SecretChain) Descriptor() ([]byte, []int)deprecated
- func (x *SecretChain) GetAnnotations() map[string]string
- func (x *SecretChain) GetData() []*KV
- func (x *SecretChain) GetLabels() map[string]string
- func (x *SecretChain) GetLocked() *wrapperspb.BytesValue
- func (x *SecretChain) GetNextVersion() *wrapperspb.UInt32Value
- func (x *SecretChain) GetPreviousVersion() *wrapperspb.UInt32Value
- func (x *SecretChain) GetVersion() uint32
- func (*SecretChain) ProtoMessage()
- func (x *SecretChain) ProtoReflect() protoreflect.Message
- func (x *SecretChain) Reset()
- func (x *SecretChain) String() string
- type SecretSuffix
- func (*SecretSuffix) Descriptor() ([]byte, []int)deprecated
- func (x *SecretSuffix) GetAnnotations() map[string]string
- func (x *SecretSuffix) GetContent() map[string]string
- func (x *SecretSuffix) GetDescription() string
- func (x *SecretSuffix) GetLabels() map[string]string
- func (x *SecretSuffix) GetSuffix() string
- func (x *SecretSuffix) GetTemplate() string
- func (x *SecretSuffix) GetVendor() bool
- func (*SecretSuffix) ProtoMessage()
- func (x *SecretSuffix) ProtoReflect() protoreflect.Message
- func (x *SecretSuffix) Reset()
- func (x *SecretSuffix) String() string
- type Selector
- func (*Selector) Descriptor() ([]byte, []int)deprecated
- func (x *Selector) GetApplication() string
- func (x *Selector) GetComponent() string
- func (x *Selector) GetPlatform() string
- func (x *Selector) GetProduct() string
- func (x *Selector) GetQuality() string
- func (x *Selector) GetVersion() string
- func (*Selector) ProtoMessage()
- func (x *Selector) ProtoReflect() protoreflect.Message
- func (x *Selector) Reset()
- func (x *Selector) String() string
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetApiVersion() string
- func (x *Template) GetKind() string
- func (x *Template) GetMeta() *TemplateMeta
- func (x *Template) GetSpec() *TemplateSpec
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type TemplateMeta
- func (*TemplateMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateMeta) GetDescription() string
- func (x *TemplateMeta) GetName() string
- func (x *TemplateMeta) GetOwner() string
- func (*TemplateMeta) ProtoMessage()
- func (x *TemplateMeta) ProtoReflect() protoreflect.Message
- func (x *TemplateMeta) Reset()
- func (x *TemplateMeta) String() string
- type TemplateSpec
- func (*TemplateSpec) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateSpec) GetNamespaces() *Namespaces
- func (x *TemplateSpec) GetSelector() *Selector
- func (*TemplateSpec) ProtoMessage()
- func (x *TemplateSpec) ProtoReflect() protoreflect.Message
- func (x *TemplateSpec) Reset()
- func (x *TemplateSpec) String() string
- type UnimplementedBundleAPIServer
- type UnsafeBundleAPIServer
Constants ¶
This section is empty.
Variables ¶
var BundleAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "harp.bundle.v1.BundleAPI", HandlerType: (*BundleAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSecret", Handler: _BundleAPI_GetSecret_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "harp/bundle/v1/bundle_api.proto", }
BundleAPI_ServiceDesc is the grpc.ServiceDesc for BundleAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_harp_bundle_v1_bundle_api_proto protoreflect.FileDescriptor
var File_harp_bundle_v1_bundle_proto protoreflect.FileDescriptor
var File_harp_bundle_v1_patch_proto protoreflect.FileDescriptor
var File_harp_bundle_v1_ruleset_proto protoreflect.FileDescriptor
var File_harp_bundle_v1_template_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBundleAPIServer ¶
func RegisterBundleAPIServer(s grpc.ServiceRegistrar, srv BundleAPIServer)
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"` // contains filtered or unexported fields }
Bundle is a concrete secret bundle.
func (*Bundle) Descriptor
deprecated
func (*Bundle) GetAnnotations ¶
func (*Bundle) GetMerkleTreeRoot ¶
func (*Bundle) GetPackages ¶
func (*Bundle) GetTemplate ¶
func (*Bundle) GetValues ¶
func (x *Bundle) GetValues() *wrapperspb.BytesValue
func (*Bundle) GetVersion ¶
func (*Bundle) ProtoMessage ¶
func (*Bundle) ProtoMessage()
func (*Bundle) ProtoReflect ¶
func (x *Bundle) ProtoReflect() protoreflect.Message
type BundleAPIClient ¶
type BundleAPIClient interface { // GetSecret returns the matching RAW secret value according to requested path. GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error) }
BundleAPIClient is the client API for BundleAPI 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.
func NewBundleAPIClient ¶
func NewBundleAPIClient(cc grpc.ClientConnInterface) BundleAPIClient
type BundleAPIServer ¶
type BundleAPIServer interface { // GetSecret returns the matching RAW secret value according to requested path. GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error) // contains filtered or unexported methods }
BundleAPIServer is the server API for BundleAPI service. All implementations must embed UnimplementedBundleAPIServer 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) ProtoMessage ¶
func (*KV) ProtoMessage()
func (*KV) ProtoReflect ¶
func (x *KV) ProtoReflect() protoreflect.Message
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 */ // contains filtered or unexported fields }
Package is a secret organizational unit.
func (*Package) Descriptor
deprecated
func (*Package) GetAnnotations ¶
func (*Package) GetSecrets ¶
func (x *Package) GetSecrets() *SecretChain
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
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) GetApiVersion ¶
func (*Patch) ProtoMessage ¶
func (*Patch) ProtoMessage()
func (*Patch) ProtoReflect ¶
func (x *Patch) ProtoReflect() protoreflect.Message
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) GetDescription ¶
func (*PatchMeta) ProtoMessage ¶
func (*PatchMeta) ProtoMessage()
func (*PatchMeta) ProtoReflect ¶
func (x *PatchMeta) ProtoReflect() protoreflect.Message
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 */ // 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) 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 ¶ added in v0.1.12
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 ¶ added in v0.1.11
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 { // Used to determine is patch strategy is applicable to the package. Selector *PatchSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` // Package patch operations. Package *PatchPackage `protobuf:"bytes,2,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) 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
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=matchPath,proto3" json:"matchPath,omitempty"` // Match a package using a JMESPath query. JmesPath string `protobuf:"bytes,2,opt,name=jmesPath,proto3" json:"jmesPath,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) GetJmesPath ¶
func (x *PatchSelector) GetJmesPath() string
func (*PatchSelector) GetMatchPath ¶
func (x *PatchSelector) GetMatchPath() *PatchSelectorMatchPath
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"` // 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) 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 PatchSpec ¶
type PatchSpec struct { // Patch selector rules. Applied in the declaration order. Rules []*PatchRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
PatchSpec repesetns bundle patch specification holder.
func (*PatchSpec) Descriptor
deprecated
func (*PatchSpec) ProtoMessage ¶
func (*PatchSpec) ProtoMessage()
func (*PatchSpec) ProtoReflect ¶
func (x *PatchSpec) ProtoReflect() protoreflect.Message
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 ¶ added in v0.1.13
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"` // REAQUIRED. Constraint collection. Constraints []string `protobuf:"bytes,4,rep,name=constraints,proto3" json:"constraints,omitempty"` // contains filtered or unexported fields }
Rule represents linter rule specification.
func (*Rule) Descriptor
deprecated
added in
v0.1.13
func (*Rule) GetConstraints ¶ added in v0.1.13
func (*Rule) GetDescription ¶ added in v0.1.13
func (*Rule) ProtoMessage ¶ added in v0.1.13
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶ added in v0.1.13
func (x *Rule) ProtoReflect() protoreflect.Message
type RuleSet ¶ added in v0.1.13
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
added in
v0.1.13
func (*RuleSet) GetApiVersion ¶ added in v0.1.13
func (*RuleSet) GetMeta ¶ added in v0.1.13
func (x *RuleSet) GetMeta() *RuleSetMeta
func (*RuleSet) GetSpec ¶ added in v0.1.13
func (x *RuleSet) GetSpec() *RuleSetSpec
func (*RuleSet) ProtoMessage ¶ added in v0.1.13
func (*RuleSet) ProtoMessage()
func (*RuleSet) ProtoReflect ¶ added in v0.1.13
func (x *RuleSet) ProtoReflect() protoreflect.Message
type RuleSetMeta ¶ added in v0.1.13
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
added in
v0.1.13
func (*RuleSetMeta) Descriptor() ([]byte, []int)
Deprecated: Use RuleSetMeta.ProtoReflect.Descriptor instead.
func (*RuleSetMeta) GetDescription ¶ added in v0.1.13
func (x *RuleSetMeta) GetDescription() string
func (*RuleSetMeta) GetName ¶ added in v0.1.13
func (x *RuleSetMeta) GetName() string
func (*RuleSetMeta) GetOwner ¶ added in v0.1.13
func (x *RuleSetMeta) GetOwner() string
func (*RuleSetMeta) ProtoMessage ¶ added in v0.1.13
func (*RuleSetMeta) ProtoMessage()
func (*RuleSetMeta) ProtoReflect ¶ added in v0.1.13
func (x *RuleSetMeta) ProtoReflect() protoreflect.Message
func (*RuleSetMeta) Reset ¶ added in v0.1.13
func (x *RuleSetMeta) Reset()
func (*RuleSetMeta) String ¶ added in v0.1.13
func (x *RuleSetMeta) String() string
type RuleSetSpec ¶ added in v0.1.13
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
added in
v0.1.13
func (*RuleSetSpec) Descriptor() ([]byte, []int)
Deprecated: Use RuleSetSpec.ProtoReflect.Descriptor instead.
func (*RuleSetSpec) GetRules ¶ added in v0.1.13
func (x *RuleSetSpec) GetRules() []*Rule
func (*RuleSetSpec) ProtoMessage ¶ added in v0.1.13
func (*RuleSetSpec) ProtoMessage()
func (*RuleSetSpec) ProtoReflect ¶ added in v0.1.13
func (x *RuleSetSpec) ProtoReflect() protoreflect.Message
func (*RuleSetSpec) Reset ¶ added in v0.1.13
func (x *RuleSetSpec) Reset()
func (*RuleSetSpec) String ¶ added in v0.1.13
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"` // 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) 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"` // Application defines default application value in CSO path builder. Application string `protobuf:"bytes,4,opt,name=application,proto3" json:"application,omitempty"` // Version defines default version value in CSO path builder. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // Component defines default component value in CSO path builder. Component string `protobuf:"bytes,6,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) GetApplication ¶
func (*Selector) GetComponent ¶
func (*Selector) GetPlatform ¶
func (*Selector) GetProduct ¶
func (*Selector) GetQuality ¶
func (*Selector) GetVersion ¶
func (*Selector) ProtoMessage ¶
func (*Selector) ProtoMessage()
func (*Selector) ProtoReflect ¶
func (x *Selector) ProtoReflect() protoreflect.Message
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) GetApiVersion ¶
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
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 UnimplementedBundleAPIServer ¶
type UnimplementedBundleAPIServer struct{}
UnimplementedBundleAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedBundleAPIServer) GetSecret ¶
func (UnimplementedBundleAPIServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
type UnsafeBundleAPIServer ¶
type UnsafeBundleAPIServer interface {
// contains filtered or unexported methods
}
UnsafeBundleAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BundleAPIServer will result in compilation errors.