Documentation ¶
Index ¶
- Variables
- func RegisterAuthenticationAgentServer(s *grpc.Server, srv AuthenticationAgentServer)
- func RegisterCertificateAgentServer(s *grpc.Server, srv CertificateAgentServer)
- func RegisterIdentityAgentServer(s *grpc.Server, srv IdentityAgentServer)
- func RegisterKeyAgentServer(s *grpc.Server, srv KeyAgentServer)
- func RegisterKeyVaultAgentServer(s *grpc.Server, srv KeyVaultAgentServer)
- func RegisterRoleAgentServer(s *grpc.Server, srv RoleAgentServer)
- func RegisterRoleAssignmentAgentServer(s *grpc.Server, srv RoleAssignmentAgentServer)
- func RegisterSecretAgentServer(s *grpc.Server, srv SecretAgentServer)
- type AccessOperation
- type Action
- func (*Action) Descriptor() ([]byte, []int)
- func (m *Action) GetGeneralOperation() GeneralAccessOperation
- func (m *Action) GetOperation() AccessOperationdeprecated
- func (m *Action) GetProviderOperation() common.ProviderAccessOperation
- func (m *Action) GetProviderType() common.ProviderType
- func (*Action) ProtoMessage()
- func (m *Action) Reset()
- func (m *Action) String() string
- func (m *Action) XXX_DiscardUnknown()
- func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Action) XXX_Merge(src proto.Message)
- func (m *Action) XXX_Size() int
- func (m *Action) XXX_Unmarshal(b []byte) error
- type AuthenticationAgentClient
- type AuthenticationAgentServer
- type AuthenticationRequest
- func (*AuthenticationRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticationRequest) GetIdentity() *Identity
- func (*AuthenticationRequest) ProtoMessage()
- func (m *AuthenticationRequest) Reset()
- func (m *AuthenticationRequest) String() string
- func (m *AuthenticationRequest) XXX_DiscardUnknown()
- func (m *AuthenticationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticationRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticationRequest) XXX_Size() int
- func (m *AuthenticationRequest) XXX_Unmarshal(b []byte) error
- type AuthenticationResponse
- func (*AuthenticationResponse) Descriptor() ([]byte, []int)
- func (m *AuthenticationResponse) GetError() string
- func (m *AuthenticationResponse) GetResult() *wrappers.BoolValue
- func (m *AuthenticationResponse) GetToken() string
- func (*AuthenticationResponse) ProtoMessage()
- func (m *AuthenticationResponse) Reset()
- func (m *AuthenticationResponse) String() string
- func (m *AuthenticationResponse) XXX_DiscardUnknown()
- func (m *AuthenticationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticationResponse) XXX_Merge(src proto.Message)
- func (m *AuthenticationResponse) XXX_Size() int
- func (m *AuthenticationResponse) XXX_Unmarshal(b []byte) error
- type CSRRequest
- func (*CSRRequest) Descriptor() ([]byte, []int)
- func (m *CSRRequest) GetCSRs() []*CertificateSigningRequest
- func (*CSRRequest) ProtoMessage()
- func (m *CSRRequest) Reset()
- func (m *CSRRequest) String() string
- func (m *CSRRequest) XXX_DiscardUnknown()
- func (m *CSRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CSRRequest) XXX_Merge(src proto.Message)
- func (m *CSRRequest) XXX_Size() int
- func (m *CSRRequest) XXX_Unmarshal(b []byte) error
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)
- func (m *Certificate) GetCertificate() string
- func (m *Certificate) GetGroupName() string
- func (m *Certificate) GetId() string
- func (m *Certificate) GetLocationName() string
- func (m *Certificate) GetName() string
- func (m *Certificate) GetNotAfter() int64
- func (m *Certificate) GetNotBefore() int64
- func (m *Certificate) GetStatus() *common.Status
- func (m *Certificate) GetTags() *common.Tags
- func (m *Certificate) GetType() CertificateType
- func (m *Certificate) GetVaultName() string
- func (*Certificate) ProtoMessage()
- func (m *Certificate) Reset()
- func (m *Certificate) String() string
- func (m *Certificate) XXX_DiscardUnknown()
- func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Certificate) XXX_Merge(src proto.Message)
- func (m *Certificate) XXX_Size() int
- func (m *Certificate) XXX_Unmarshal(b []byte) error
- type CertificateAgentClient
- type CertificateAgentServer
- type CertificatePrecheckRequest
- func (*CertificatePrecheckRequest) Descriptor() ([]byte, []int)
- func (m *CertificatePrecheckRequest) GetCertificates() []*Certificate
- func (*CertificatePrecheckRequest) ProtoMessage()
- func (m *CertificatePrecheckRequest) Reset()
- func (m *CertificatePrecheckRequest) String() string
- func (m *CertificatePrecheckRequest) XXX_DiscardUnknown()
- func (m *CertificatePrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificatePrecheckRequest) XXX_Merge(src proto.Message)
- func (m *CertificatePrecheckRequest) XXX_Size() int
- func (m *CertificatePrecheckRequest) XXX_Unmarshal(b []byte) error
- type CertificatePrecheckResponse
- func (*CertificatePrecheckResponse) Descriptor() ([]byte, []int)
- func (m *CertificatePrecheckResponse) GetError() string
- func (m *CertificatePrecheckResponse) GetResult() *wrappers.BoolValue
- func (*CertificatePrecheckResponse) ProtoMessage()
- func (m *CertificatePrecheckResponse) Reset()
- func (m *CertificatePrecheckResponse) String() string
- func (m *CertificatePrecheckResponse) XXX_DiscardUnknown()
- func (m *CertificatePrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificatePrecheckResponse) XXX_Merge(src proto.Message)
- func (m *CertificatePrecheckResponse) XXX_Size() int
- func (m *CertificatePrecheckResponse) XXX_Unmarshal(b []byte) error
- type CertificateRequest
- func (*CertificateRequest) Descriptor() ([]byte, []int)
- func (m *CertificateRequest) GetCertificates() []*Certificate
- func (*CertificateRequest) ProtoMessage()
- func (m *CertificateRequest) Reset()
- func (m *CertificateRequest) String() string
- func (m *CertificateRequest) XXX_DiscardUnknown()
- func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateRequest) XXX_Merge(src proto.Message)
- func (m *CertificateRequest) XXX_Size() int
- func (m *CertificateRequest) XXX_Unmarshal(b []byte) error
- type CertificateResponse
- func (*CertificateResponse) Descriptor() ([]byte, []int)
- func (m *CertificateResponse) GetCertificates() []*Certificate
- func (m *CertificateResponse) GetError() string
- func (m *CertificateResponse) GetResult() *wrappers.BoolValue
- func (*CertificateResponse) ProtoMessage()
- func (m *CertificateResponse) Reset()
- func (m *CertificateResponse) String() string
- func (m *CertificateResponse) XXX_DiscardUnknown()
- func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateResponse) XXX_Merge(src proto.Message)
- func (m *CertificateResponse) XXX_Size() int
- func (m *CertificateResponse) XXX_Unmarshal(b []byte) error
- type CertificateSigningRequest
- func (*CertificateSigningRequest) Descriptor() ([]byte, []int)
- func (m *CertificateSigningRequest) GetCaName() string
- func (m *CertificateSigningRequest) GetCsr() string
- func (m *CertificateSigningRequest) GetGroupName() string
- func (m *CertificateSigningRequest) GetIdentity() string
- func (m *CertificateSigningRequest) GetIsCA() *wrappers.BoolValue
- func (m *CertificateSigningRequest) GetLocationName() string
- func (m *CertificateSigningRequest) GetName() string
- func (m *CertificateSigningRequest) GetOldCertificate() string
- func (m *CertificateSigningRequest) GetStatus() *common.Status
- func (m *CertificateSigningRequest) GetValidity() int64
- func (m *CertificateSigningRequest) GetVaultName() string
- func (*CertificateSigningRequest) ProtoMessage()
- func (m *CertificateSigningRequest) Reset()
- func (m *CertificateSigningRequest) String() string
- func (m *CertificateSigningRequest) XXX_DiscardUnknown()
- func (m *CertificateSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateSigningRequest) XXX_Merge(src proto.Message)
- func (m *CertificateSigningRequest) XXX_Size() int
- func (m *CertificateSigningRequest) XXX_Unmarshal(b []byte) error
- type CertificateType
- type GeneralAccessOperation
- type Identity
- func (*Identity) Descriptor() ([]byte, []int)
- func (m *Identity) GetAuthType() common.AuthenticationTypedeprecated
- func (m *Identity) GetAutoRotate() bool
- func (m *Identity) GetCertificates() map[string]string
- func (m *Identity) GetClientType() common.ClientType
- func (m *Identity) GetCloudAuthPort() int32
- func (m *Identity) GetCloudFqdn() string
- func (m *Identity) GetCloudPort() int32
- func (m *Identity) GetId() string
- func (m *Identity) GetLocationName() string
- func (m *Identity) GetLoginFilePath() string
- func (m *Identity) GetName() string
- func (m *Identity) GetPassword() string
- func (m *Identity) GetResourceGroup() string
- func (m *Identity) GetRevoked() bool
- func (m *Identity) GetStatus() *common.Status
- func (m *Identity) GetTags() *common.Tags
- func (m *Identity) GetToken() string
- func (m *Identity) GetTokenExpiry() int64deprecated
- func (m *Identity) GetTokenExpiryInSeconds() int64
- func (*Identity) ProtoMessage()
- func (m *Identity) Reset()
- func (m *Identity) String() string
- func (m *Identity) XXX_DiscardUnknown()
- func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Identity) XXX_Merge(src proto.Message)
- func (m *Identity) XXX_Size() int
- func (m *Identity) XXX_Unmarshal(b []byte) error
- type IdentityAgentClient
- type IdentityAgentServer
- type IdentityCertificateRequest
- func (*IdentityCertificateRequest) Descriptor() ([]byte, []int)
- func (m *IdentityCertificateRequest) GetCSR() []*CertificateSigningRequest
- func (m *IdentityCertificateRequest) GetIdentityName() string
- func (m *IdentityCertificateRequest) GetOBSOLETE_OperationType() common.IdentityCertificateOperationdeprecated
- func (m *IdentityCertificateRequest) GetOperationType() common.ProviderAccessOperation
- func (*IdentityCertificateRequest) ProtoMessage()
- func (m *IdentityCertificateRequest) Reset()
- func (m *IdentityCertificateRequest) String() string
- func (m *IdentityCertificateRequest) XXX_DiscardUnknown()
- func (m *IdentityCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityCertificateRequest) XXX_Merge(src proto.Message)
- func (m *IdentityCertificateRequest) XXX_Size() int
- func (m *IdentityCertificateRequest) XXX_Unmarshal(b []byte) error
- type IdentityCertificateResponse
- func (*IdentityCertificateResponse) Descriptor() ([]byte, []int)
- func (m *IdentityCertificateResponse) GetCertificates() []*Certificate
- func (m *IdentityCertificateResponse) GetError() string
- func (m *IdentityCertificateResponse) GetResult() *wrappers.BoolValue
- func (*IdentityCertificateResponse) ProtoMessage()
- func (m *IdentityCertificateResponse) Reset()
- func (m *IdentityCertificateResponse) String() string
- func (m *IdentityCertificateResponse) XXX_DiscardUnknown()
- func (m *IdentityCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityCertificateResponse) XXX_Merge(src proto.Message)
- func (m *IdentityCertificateResponse) XXX_Size() int
- func (m *IdentityCertificateResponse) XXX_Unmarshal(b []byte) error
- type IdentityOperationRequest
- func (*IdentityOperationRequest) Descriptor() ([]byte, []int)
- func (m *IdentityOperationRequest) GetIdentities() []*Identity
- func (m *IdentityOperationRequest) GetOBSOLETE_OperationType() common.IdentityOperationdeprecated
- func (m *IdentityOperationRequest) GetOperationType() common.ProviderAccessOperation
- func (*IdentityOperationRequest) ProtoMessage()
- func (m *IdentityOperationRequest) Reset()
- func (m *IdentityOperationRequest) String() string
- func (m *IdentityOperationRequest) XXX_DiscardUnknown()
- func (m *IdentityOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityOperationRequest) XXX_Merge(src proto.Message)
- func (m *IdentityOperationRequest) XXX_Size() int
- func (m *IdentityOperationRequest) XXX_Unmarshal(b []byte) error
- type IdentityPrecheckRequest
- func (*IdentityPrecheckRequest) Descriptor() ([]byte, []int)
- func (m *IdentityPrecheckRequest) GetIdentities() []*Identity
- func (*IdentityPrecheckRequest) ProtoMessage()
- func (m *IdentityPrecheckRequest) Reset()
- func (m *IdentityPrecheckRequest) String() string
- func (m *IdentityPrecheckRequest) XXX_DiscardUnknown()
- func (m *IdentityPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityPrecheckRequest) XXX_Merge(src proto.Message)
- func (m *IdentityPrecheckRequest) XXX_Size() int
- func (m *IdentityPrecheckRequest) XXX_Unmarshal(b []byte) error
- type IdentityPrecheckResponse
- func (*IdentityPrecheckResponse) Descriptor() ([]byte, []int)
- func (m *IdentityPrecheckResponse) GetError() string
- func (m *IdentityPrecheckResponse) GetResult() *wrappers.BoolValue
- func (*IdentityPrecheckResponse) ProtoMessage()
- func (m *IdentityPrecheckResponse) Reset()
- func (m *IdentityPrecheckResponse) String() string
- func (m *IdentityPrecheckResponse) XXX_DiscardUnknown()
- func (m *IdentityPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityPrecheckResponse) XXX_Merge(src proto.Message)
- func (m *IdentityPrecheckResponse) XXX_Size() int
- func (m *IdentityPrecheckResponse) XXX_Unmarshal(b []byte) error
- type IdentityRequest
- func (*IdentityRequest) Descriptor() ([]byte, []int)
- func (m *IdentityRequest) GetIdentitys() []*Identity
- func (m *IdentityRequest) GetOperationType() common.Operation
- func (*IdentityRequest) ProtoMessage()
- func (m *IdentityRequest) Reset()
- func (m *IdentityRequest) String() string
- func (m *IdentityRequest) XXX_DiscardUnknown()
- func (m *IdentityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityRequest) XXX_Merge(src proto.Message)
- func (m *IdentityRequest) XXX_Size() int
- func (m *IdentityRequest) XXX_Unmarshal(b []byte) error
- type IdentityResponse
- func (*IdentityResponse) Descriptor() ([]byte, []int)
- func (m *IdentityResponse) GetError() string
- func (m *IdentityResponse) GetIdentitys() []*Identity
- func (m *IdentityResponse) GetResult() *wrappers.BoolValue
- func (*IdentityResponse) ProtoMessage()
- func (m *IdentityResponse) Reset()
- func (m *IdentityResponse) String() string
- func (m *IdentityResponse) XXX_DiscardUnknown()
- func (m *IdentityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityResponse) XXX_Merge(src proto.Message)
- func (m *IdentityResponse) XXX_Size() int
- func (m *IdentityResponse) XXX_Unmarshal(b []byte) error
- type Key
- func (*Key) Descriptor() ([]byte, []int)
- func (m *Key) GetCurve() common.JsonWebKeyCurveName
- func (m *Key) GetGroupName() string
- func (m *Key) GetId() string
- func (m *Key) GetKeyOps() []common.KeyOperation
- func (m *Key) GetKeyRotationFrequencyInSeconds() int64
- func (m *Key) GetLocationName() string
- func (m *Key) GetName() string
- func (m *Key) GetPrivateKey() []byte
- func (m *Key) GetPrivateKeyWrappingInfo() *PrivateKeyWrappingInfo
- func (m *Key) GetPublicKey() []byte
- func (m *Key) GetSize() common.KeySize
- func (m *Key) GetStatus() *common.Status
- func (m *Key) GetTags() *common.Tags
- func (m *Key) GetType() common.JsonWebKeyType
- func (m *Key) GetVaultName() string
- func (*Key) ProtoMessage()
- func (m *Key) Reset()
- func (m *Key) String() string
- func (m *Key) XXX_DiscardUnknown()
- func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Key) XXX_Merge(src proto.Message)
- func (m *Key) XXX_Size() int
- func (m *Key) XXX_Unmarshal(b []byte) error
- type KeyAgentClient
- type KeyAgentServer
- type KeyOperationRequest
- func (*KeyOperationRequest) Descriptor() ([]byte, []int)
- func (m *KeyOperationRequest) GetAlgorithm() common.Algorithm
- func (m *KeyOperationRequest) GetData() string
- func (m *KeyOperationRequest) GetKey() *Key
- func (m *KeyOperationRequest) GetOBSOLETE_OperationType() common.KeyOperationdeprecated
- func (m *KeyOperationRequest) GetOperationType() common.ProviderAccessOperation
- func (m *KeyOperationRequest) GetSignVerifyParams() *SignVerifyParams
- func (*KeyOperationRequest) ProtoMessage()
- func (m *KeyOperationRequest) Reset()
- func (m *KeyOperationRequest) String() string
- func (m *KeyOperationRequest) XXX_DiscardUnknown()
- func (m *KeyOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyOperationRequest) XXX_Merge(src proto.Message)
- func (m *KeyOperationRequest) XXX_Size() int
- func (m *KeyOperationRequest) XXX_Unmarshal(b []byte) error
- type KeyOperationResponse
- func (*KeyOperationResponse) Descriptor() ([]byte, []int)
- func (m *KeyOperationResponse) GetData() string
- func (m *KeyOperationResponse) GetError() string
- func (m *KeyOperationResponse) GetResult() *wrappers.BoolValue
- func (*KeyOperationResponse) ProtoMessage()
- func (m *KeyOperationResponse) Reset()
- func (m *KeyOperationResponse) String() string
- func (m *KeyOperationResponse) XXX_DiscardUnknown()
- func (m *KeyOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyOperationResponse) XXX_Merge(src proto.Message)
- func (m *KeyOperationResponse) XXX_Size() int
- func (m *KeyOperationResponse) XXX_Unmarshal(b []byte) error
- type KeyRequest
- func (*KeyRequest) Descriptor() ([]byte, []int)
- func (m *KeyRequest) GetKeys() []*Key
- func (m *KeyRequest) GetOperationType() common.Operation
- func (*KeyRequest) ProtoMessage()
- func (m *KeyRequest) Reset()
- func (m *KeyRequest) String() string
- func (m *KeyRequest) XXX_DiscardUnknown()
- func (m *KeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyRequest) XXX_Merge(src proto.Message)
- func (m *KeyRequest) XXX_Size() int
- func (m *KeyRequest) XXX_Unmarshal(b []byte) error
- type KeyResponse
- func (*KeyResponse) Descriptor() ([]byte, []int)
- func (m *KeyResponse) GetError() string
- func (m *KeyResponse) GetKeys() []*Key
- func (m *KeyResponse) GetResult() *wrappers.BoolValue
- func (*KeyResponse) ProtoMessage()
- func (m *KeyResponse) Reset()
- func (m *KeyResponse) String() string
- func (m *KeyResponse) XXX_DiscardUnknown()
- func (m *KeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyResponse) XXX_Merge(src proto.Message)
- func (m *KeyResponse) XXX_Size() int
- func (m *KeyResponse) XXX_Unmarshal(b []byte) error
- type KeyVault
- func (*KeyVault) Descriptor() ([]byte, []int)
- func (m *KeyVault) GetGroupName() string
- func (m *KeyVault) GetId() string
- func (m *KeyVault) GetLocationName() string
- func (m *KeyVault) GetName() string
- func (m *KeyVault) GetSecrets() []*Secret
- func (m *KeyVault) GetStatus() *common.Status
- func (m *KeyVault) GetTags() *common.Tags
- func (*KeyVault) ProtoMessage()
- func (m *KeyVault) Reset()
- func (m *KeyVault) String() string
- func (m *KeyVault) XXX_DiscardUnknown()
- func (m *KeyVault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyVault) XXX_Merge(src proto.Message)
- func (m *KeyVault) XXX_Size() int
- func (m *KeyVault) XXX_Unmarshal(b []byte) error
- type KeyVaultAgentClient
- type KeyVaultAgentServer
- type KeyVaultRequest
- func (*KeyVaultRequest) Descriptor() ([]byte, []int)
- func (m *KeyVaultRequest) GetKeyVaults() []*KeyVault
- func (m *KeyVaultRequest) GetOperationType() common.Operation
- func (*KeyVaultRequest) ProtoMessage()
- func (m *KeyVaultRequest) Reset()
- func (m *KeyVaultRequest) String() string
- func (m *KeyVaultRequest) XXX_DiscardUnknown()
- func (m *KeyVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyVaultRequest) XXX_Merge(src proto.Message)
- func (m *KeyVaultRequest) XXX_Size() int
- func (m *KeyVaultRequest) XXX_Unmarshal(b []byte) error
- type KeyVaultResponse
- func (*KeyVaultResponse) Descriptor() ([]byte, []int)
- func (m *KeyVaultResponse) GetError() string
- func (m *KeyVaultResponse) GetKeyVaults() []*KeyVault
- func (m *KeyVaultResponse) GetResult() *wrappers.BoolValue
- func (*KeyVaultResponse) ProtoMessage()
- func (m *KeyVaultResponse) Reset()
- func (m *KeyVaultResponse) String() string
- func (m *KeyVaultResponse) XXX_DiscardUnknown()
- func (m *KeyVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyVaultResponse) XXX_Merge(src proto.Message)
- func (m *KeyVaultResponse) XXX_Size() int
- func (m *KeyVaultResponse) XXX_Unmarshal(b []byte) error
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)
- func (m *Permission) GetActions() []*Action
- func (m *Permission) GetNotActions() []*Action
- func (*Permission) ProtoMessage()
- func (m *Permission) Reset()
- func (m *Permission) String() string
- func (m *Permission) XXX_DiscardUnknown()
- func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Permission) XXX_Merge(src proto.Message)
- func (m *Permission) XXX_Size() int
- func (m *Permission) XXX_Unmarshal(b []byte) error
- type PrivateKeyWrappingInfo
- func (*PrivateKeyWrappingInfo) Descriptor() ([]byte, []int)
- func (m *PrivateKeyWrappingInfo) GetWrappingAlgorithm() common.KeyWrappingAlgorithm
- func (m *PrivateKeyWrappingInfo) GetWrappingKeyName() string
- func (m *PrivateKeyWrappingInfo) GetWrappingKeyPublic() []byte
- func (*PrivateKeyWrappingInfo) ProtoMessage()
- func (m *PrivateKeyWrappingInfo) Reset()
- func (m *PrivateKeyWrappingInfo) String() string
- func (m *PrivateKeyWrappingInfo) XXX_DiscardUnknown()
- func (m *PrivateKeyWrappingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateKeyWrappingInfo) XXX_Merge(src proto.Message)
- func (m *PrivateKeyWrappingInfo) XXX_Size() int
- func (m *PrivateKeyWrappingInfo) XXX_Unmarshal(b []byte) error
- type Role
- func (*Role) Descriptor() ([]byte, []int)
- func (m *Role) GetAssignableScopes() []*common.Scope
- func (m *Role) GetId() string
- func (m *Role) GetName() string
- func (m *Role) GetPermissions() []*Permission
- func (m *Role) GetStatus() *common.Status
- func (m *Role) GetTags() *common.Tags
- func (*Role) ProtoMessage()
- func (m *Role) Reset()
- func (m *Role) String() string
- func (m *Role) XXX_DiscardUnknown()
- func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Role) XXX_Merge(src proto.Message)
- func (m *Role) XXX_Size() int
- func (m *Role) XXX_Unmarshal(b []byte) error
- type RoleAgentClient
- type RoleAgentServer
- type RoleAssignment
- func (*RoleAssignment) Descriptor() ([]byte, []int)
- func (m *RoleAssignment) GetId() string
- func (m *RoleAssignment) GetIdentityName() string
- func (m *RoleAssignment) GetName() string
- func (m *RoleAssignment) GetRoleName() string
- func (m *RoleAssignment) GetScope() *common.Scope
- func (m *RoleAssignment) GetStatus() *common.Status
- func (m *RoleAssignment) GetTags() *common.Tags
- func (*RoleAssignment) ProtoMessage()
- func (m *RoleAssignment) Reset()
- func (m *RoleAssignment) String() string
- func (m *RoleAssignment) XXX_DiscardUnknown()
- func (m *RoleAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoleAssignment) XXX_Merge(src proto.Message)
- func (m *RoleAssignment) XXX_Size() int
- func (m *RoleAssignment) XXX_Unmarshal(b []byte) error
- type RoleAssignmentAgentClient
- type RoleAssignmentAgentServer
- type RoleAssignmentRequest
- func (*RoleAssignmentRequest) Descriptor() ([]byte, []int)
- func (m *RoleAssignmentRequest) GetOperationType() common.Operation
- func (m *RoleAssignmentRequest) GetRoleAssignments() []*RoleAssignment
- func (*RoleAssignmentRequest) ProtoMessage()
- func (m *RoleAssignmentRequest) Reset()
- func (m *RoleAssignmentRequest) String() string
- func (m *RoleAssignmentRequest) XXX_DiscardUnknown()
- func (m *RoleAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoleAssignmentRequest) XXX_Merge(src proto.Message)
- func (m *RoleAssignmentRequest) XXX_Size() int
- func (m *RoleAssignmentRequest) XXX_Unmarshal(b []byte) error
- type RoleAssignmentResponse
- func (*RoleAssignmentResponse) Descriptor() ([]byte, []int)
- func (m *RoleAssignmentResponse) GetError() string
- func (m *RoleAssignmentResponse) GetResult() *wrappers.BoolValue
- func (m *RoleAssignmentResponse) GetRoleAssignments() []*RoleAssignment
- func (*RoleAssignmentResponse) ProtoMessage()
- func (m *RoleAssignmentResponse) Reset()
- func (m *RoleAssignmentResponse) String() string
- func (m *RoleAssignmentResponse) XXX_DiscardUnknown()
- func (m *RoleAssignmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoleAssignmentResponse) XXX_Merge(src proto.Message)
- func (m *RoleAssignmentResponse) XXX_Size() int
- func (m *RoleAssignmentResponse) XXX_Unmarshal(b []byte) error
- type RoleRequest
- func (*RoleRequest) Descriptor() ([]byte, []int)
- func (m *RoleRequest) GetOperationType() common.Operation
- func (m *RoleRequest) GetRoles() []*Role
- func (*RoleRequest) ProtoMessage()
- func (m *RoleRequest) Reset()
- func (m *RoleRequest) String() string
- func (m *RoleRequest) XXX_DiscardUnknown()
- func (m *RoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoleRequest) XXX_Merge(src proto.Message)
- func (m *RoleRequest) XXX_Size() int
- func (m *RoleRequest) XXX_Unmarshal(b []byte) error
- type RoleResponse
- func (*RoleResponse) Descriptor() ([]byte, []int)
- func (m *RoleResponse) GetError() string
- func (m *RoleResponse) GetResult() *wrappers.BoolValue
- func (m *RoleResponse) GetRoles() []*Role
- func (*RoleResponse) ProtoMessage()
- func (m *RoleResponse) Reset()
- func (m *RoleResponse) String() string
- func (m *RoleResponse) XXX_DiscardUnknown()
- func (m *RoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoleResponse) XXX_Merge(src proto.Message)
- func (m *RoleResponse) XXX_Size() int
- func (m *RoleResponse) XXX_Unmarshal(b []byte) error
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (m *Secret) GetFilename() string
- func (m *Secret) GetGroupName() string
- func (m *Secret) GetId() string
- func (m *Secret) GetLocationName() string
- func (m *Secret) GetName() string
- func (m *Secret) GetStatus() *common.Status
- func (m *Secret) GetTags() *common.Tags
- func (m *Secret) GetValue() string
- func (m *Secret) GetVaultId() string
- func (m *Secret) GetVaultName() string
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (m *Secret) String() string
- func (m *Secret) XXX_DiscardUnknown()
- func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Secret) XXX_Merge(src proto.Message)
- func (m *Secret) XXX_Size() int
- func (m *Secret) XXX_Unmarshal(b []byte) error
- type SecretAgentClient
- type SecretAgentServer
- type SecretRequest
- func (*SecretRequest) Descriptor() ([]byte, []int)
- func (m *SecretRequest) GetOperationType() common.Operation
- func (m *SecretRequest) GetSecrets() []*Secret
- func (*SecretRequest) ProtoMessage()
- func (m *SecretRequest) Reset()
- func (m *SecretRequest) String() string
- func (m *SecretRequest) XXX_DiscardUnknown()
- func (m *SecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecretRequest) XXX_Merge(src proto.Message)
- func (m *SecretRequest) XXX_Size() int
- func (m *SecretRequest) XXX_Unmarshal(b []byte) error
- type SecretResponse
- func (*SecretResponse) Descriptor() ([]byte, []int)
- func (m *SecretResponse) GetError() string
- func (m *SecretResponse) GetResult() *wrappers.BoolValue
- func (m *SecretResponse) GetSecrets() []*Secret
- func (*SecretResponse) ProtoMessage()
- func (m *SecretResponse) Reset()
- func (m *SecretResponse) String() string
- func (m *SecretResponse) XXX_DiscardUnknown()
- func (m *SecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecretResponse) XXX_Merge(src proto.Message)
- func (m *SecretResponse) XXX_Size() int
- func (m *SecretResponse) XXX_Unmarshal(b []byte) error
- type SignVerifyParams
- func (*SignVerifyParams) Descriptor() ([]byte, []int)
- func (m *SignVerifyParams) GetAlgorithm() common.JSONWebKeySignatureAlgorithm
- func (m *SignVerifyParams) GetSignature() string
- func (*SignVerifyParams) ProtoMessage()
- func (m *SignVerifyParams) Reset()
- func (m *SignVerifyParams) String() string
- func (m *SignVerifyParams) XXX_DiscardUnknown()
- func (m *SignVerifyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignVerifyParams) XXX_Merge(src proto.Message)
- func (m *SignVerifyParams) XXX_Size() int
- func (m *SignVerifyParams) XXX_Unmarshal(b []byte) error
- type UnimplementedAuthenticationAgentServer
- type UnimplementedCertificateAgentServer
- func (*UnimplementedCertificateAgentServer) CreateOrUpdate(ctx context.Context, req *CertificateRequest) (*CertificateResponse, error)
- func (*UnimplementedCertificateAgentServer) Delete(ctx context.Context, req *CertificateRequest) (*CertificateResponse, error)
- func (*UnimplementedCertificateAgentServer) Get(ctx context.Context, req *CertificateRequest) (*CertificateResponse, error)
- func (*UnimplementedCertificateAgentServer) Precheck(ctx context.Context, req *CertificatePrecheckRequest) (*CertificatePrecheckResponse, error)
- func (*UnimplementedCertificateAgentServer) Renew(ctx context.Context, req *CSRRequest) (*CertificateResponse, error)
- func (*UnimplementedCertificateAgentServer) Sign(ctx context.Context, req *CSRRequest) (*CertificateResponse, error)
- type UnimplementedIdentityAgentServer
- func (*UnimplementedIdentityAgentServer) Invoke(ctx context.Context, req *IdentityRequest) (*IdentityResponse, error)
- func (*UnimplementedIdentityAgentServer) Operate(ctx context.Context, req *IdentityOperationRequest) (*IdentityResponse, error)
- func (*UnimplementedIdentityAgentServer) OperateCertificates(ctx context.Context, req *IdentityCertificateRequest) (*IdentityCertificateResponse, error)
- func (*UnimplementedIdentityAgentServer) Precheck(ctx context.Context, req *IdentityPrecheckRequest) (*IdentityPrecheckResponse, error)
- type UnimplementedKeyAgentServer
- type UnimplementedKeyVaultAgentServer
- type UnimplementedRoleAgentServer
- type UnimplementedRoleAssignmentAgentServer
- type UnimplementedSecretAgentServer
Constants ¶
This section is empty.
Variables ¶
var AccessOperation_name = map[int32]string{
0: "OBSOLETE_Read",
1: "OBSOLETE_Write",
2: "OBSOLETE_Delete",
3: "OBSOLETE_All",
}
var AccessOperation_value = map[string]int32{
"OBSOLETE_Read": 0,
"OBSOLETE_Write": 1,
"OBSOLETE_Delete": 2,
"OBSOLETE_All": 3,
}
var CertificateType_name = map[int32]string{
0: "Client",
1: "Server",
}
var CertificateType_value = map[string]int32{
"Client": 0,
"Server": 1,
}
var GeneralAccessOperation_name = map[int32]string{
0: "Unspecified",
1: "Read",
2: "Write",
3: "Delete",
4: "All",
5: "ProviderAction",
}
var GeneralAccessOperation_value = map[string]int32{
"Unspecified": 0,
"Read": 1,
"Write": 2,
"Delete": 3,
"All": 4,
"ProviderAction": 5,
}
Functions ¶
func RegisterAuthenticationAgentServer ¶
func RegisterAuthenticationAgentServer(s *grpc.Server, srv AuthenticationAgentServer)
func RegisterCertificateAgentServer ¶
func RegisterCertificateAgentServer(s *grpc.Server, srv CertificateAgentServer)
func RegisterIdentityAgentServer ¶
func RegisterIdentityAgentServer(s *grpc.Server, srv IdentityAgentServer)
func RegisterKeyAgentServer ¶
func RegisterKeyAgentServer(s *grpc.Server, srv KeyAgentServer)
func RegisterKeyVaultAgentServer ¶
func RegisterKeyVaultAgentServer(s *grpc.Server, srv KeyVaultAgentServer)
func RegisterRoleAgentServer ¶ added in v0.10.9
func RegisterRoleAgentServer(s *grpc.Server, srv RoleAgentServer)
func RegisterRoleAssignmentAgentServer ¶ added in v0.10.9
func RegisterRoleAssignmentAgentServer(s *grpc.Server, srv RoleAssignmentAgentServer)
func RegisterSecretAgentServer ¶
func RegisterSecretAgentServer(s *grpc.Server, srv SecretAgentServer)
Types ¶
type AccessOperation ¶ added in v0.10.9
type AccessOperation int32
const ( AccessOperation_OBSOLETE_Read AccessOperation = 0 // Deprecated: Do not use. AccessOperation_OBSOLETE_Write AccessOperation = 1 // Deprecated: Do not use. AccessOperation_OBSOLETE_Delete AccessOperation = 2 // Deprecated: Do not use. AccessOperation_OBSOLETE_All AccessOperation = 3 // Deprecated: Do not use. )
func (AccessOperation) EnumDescriptor ¶ added in v0.10.9
func (AccessOperation) EnumDescriptor() ([]byte, []int)
func (AccessOperation) String ¶ added in v0.10.9
func (x AccessOperation) String() string
type Action ¶ added in v0.10.9
type Action struct { Operation AccessOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=moc.cloudagent.security.AccessOperation" json:"operation,omitempty"` // Deprecated: Do not use. // ProviderType the rule works on ProviderType common.ProviderType `protobuf:"varint,2,opt,name=providerType,proto3,enum=moc.ProviderType" json:"providerType,omitempty"` // General access permissions GeneralOperation GeneralAccessOperation `` /* 138-byte string literal not displayed */ // Provider specific access permissions ProviderOperation common.ProviderAccessOperation `protobuf:"varint,4,opt,name=providerOperation,proto3,enum=moc.ProviderAccessOperation" json:"providerOperation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Action) Descriptor ¶ added in v0.10.9
func (*Action) GetGeneralOperation ¶ added in v0.10.29
func (m *Action) GetGeneralOperation() GeneralAccessOperation
func (*Action) GetOperation
deprecated
added in
v0.10.9
func (m *Action) GetOperation() AccessOperation
Deprecated: Do not use.
func (*Action) GetProviderOperation ¶ added in v0.10.27
func (m *Action) GetProviderOperation() common.ProviderAccessOperation
func (*Action) GetProviderType ¶ added in v0.10.9
func (m *Action) GetProviderType() common.ProviderType
func (*Action) ProtoMessage ¶ added in v0.10.9
func (*Action) ProtoMessage()
func (*Action) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *Action) XXX_DiscardUnknown()
func (*Action) XXX_Marshal ¶ added in v0.10.9
func (*Action) XXX_Unmarshal ¶ added in v0.10.9
type AuthenticationAgentClient ¶
type AuthenticationAgentClient interface {
Login(ctx context.Context, in *AuthenticationRequest, opts ...grpc.CallOption) (*AuthenticationResponse, error)
}
AuthenticationAgentClient is the client API for AuthenticationAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthenticationAgentClient ¶
func NewAuthenticationAgentClient(cc *grpc.ClientConn) AuthenticationAgentClient
type AuthenticationAgentServer ¶
type AuthenticationAgentServer interface {
Login(context.Context, *AuthenticationRequest) (*AuthenticationResponse, error)
}
AuthenticationAgentServer is the server API for AuthenticationAgent service.
type AuthenticationRequest ¶
type AuthenticationRequest struct { Identity *Identity `protobuf:"bytes,1,opt,name=Identity,proto3" json:"Identity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticationRequest) Descriptor ¶
func (*AuthenticationRequest) Descriptor() ([]byte, []int)
func (*AuthenticationRequest) GetIdentity ¶
func (m *AuthenticationRequest) GetIdentity() *Identity
func (*AuthenticationRequest) ProtoMessage ¶
func (*AuthenticationRequest) ProtoMessage()
func (*AuthenticationRequest) Reset ¶
func (m *AuthenticationRequest) Reset()
func (*AuthenticationRequest) String ¶
func (m *AuthenticationRequest) String() string
func (*AuthenticationRequest) XXX_DiscardUnknown ¶
func (m *AuthenticationRequest) XXX_DiscardUnknown()
func (*AuthenticationRequest) XXX_Marshal ¶
func (m *AuthenticationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticationRequest) XXX_Merge ¶
func (m *AuthenticationRequest) XXX_Merge(src proto.Message)
func (*AuthenticationRequest) XXX_Size ¶
func (m *AuthenticationRequest) XXX_Size() int
func (*AuthenticationRequest) XXX_Unmarshal ¶
func (m *AuthenticationRequest) XXX_Unmarshal(b []byte) error
type AuthenticationResponse ¶
type AuthenticationResponse struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticationResponse) Descriptor ¶
func (*AuthenticationResponse) Descriptor() ([]byte, []int)
func (*AuthenticationResponse) GetError ¶
func (m *AuthenticationResponse) GetError() string
func (*AuthenticationResponse) GetResult ¶
func (m *AuthenticationResponse) GetResult() *wrappers.BoolValue
func (*AuthenticationResponse) GetToken ¶
func (m *AuthenticationResponse) GetToken() string
func (*AuthenticationResponse) ProtoMessage ¶
func (*AuthenticationResponse) ProtoMessage()
func (*AuthenticationResponse) Reset ¶
func (m *AuthenticationResponse) Reset()
func (*AuthenticationResponse) String ¶
func (m *AuthenticationResponse) String() string
func (*AuthenticationResponse) XXX_DiscardUnknown ¶
func (m *AuthenticationResponse) XXX_DiscardUnknown()
func (*AuthenticationResponse) XXX_Marshal ¶
func (m *AuthenticationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticationResponse) XXX_Merge ¶
func (m *AuthenticationResponse) XXX_Merge(src proto.Message)
func (*AuthenticationResponse) XXX_Size ¶
func (m *AuthenticationResponse) XXX_Size() int
func (*AuthenticationResponse) XXX_Unmarshal ¶
func (m *AuthenticationResponse) XXX_Unmarshal(b []byte) error
type CSRRequest ¶ added in v0.10.7
type CSRRequest struct { CSRs []*CertificateSigningRequest `protobuf:"bytes,1,rep,name=CSRs,proto3" json:"CSRs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CSRRequest) Descriptor ¶ added in v0.10.7
func (*CSRRequest) Descriptor() ([]byte, []int)
func (*CSRRequest) GetCSRs ¶ added in v0.10.7
func (m *CSRRequest) GetCSRs() []*CertificateSigningRequest
func (*CSRRequest) ProtoMessage ¶ added in v0.10.7
func (*CSRRequest) ProtoMessage()
func (*CSRRequest) Reset ¶ added in v0.10.7
func (m *CSRRequest) Reset()
func (*CSRRequest) String ¶ added in v0.10.7
func (m *CSRRequest) String() string
func (*CSRRequest) XXX_DiscardUnknown ¶ added in v0.10.7
func (m *CSRRequest) XXX_DiscardUnknown()
func (*CSRRequest) XXX_Marshal ¶ added in v0.10.7
func (m *CSRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CSRRequest) XXX_Merge ¶ added in v0.10.7
func (m *CSRRequest) XXX_Merge(src proto.Message)
func (*CSRRequest) XXX_Size ¶ added in v0.10.7
func (m *CSRRequest) XXX_Size() int
func (*CSRRequest) XXX_Unmarshal ¶ added in v0.10.7
func (m *CSRRequest) XXX_Unmarshal(b []byte) error
type Certificate ¶
type Certificate struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` NotBefore int64 `protobuf:"varint,3,opt,name=notBefore,proto3" json:"notBefore,omitempty"` NotAfter int64 `protobuf:"varint,4,opt,name=notAfter,proto3" json:"notAfter,omitempty"` Certificate string `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"` Status *common.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` Type CertificateType `protobuf:"varint,7,opt,name=type,proto3,enum=moc.cloudagent.security.CertificateType" json:"type,omitempty"` GroupName string `protobuf:"bytes,8,opt,name=groupName,proto3" json:"groupName,omitempty"` VaultName string `protobuf:"bytes,9,opt,name=vaultName,proto3" json:"vaultName,omitempty"` LocationName string `protobuf:"bytes,10,opt,name=locationName,proto3" json:"locationName,omitempty"` Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Certificate) Descriptor ¶
func (*Certificate) Descriptor() ([]byte, []int)
func (*Certificate) GetCertificate ¶
func (m *Certificate) GetCertificate() string
func (*Certificate) GetGroupName ¶
func (m *Certificate) GetGroupName() string
func (*Certificate) GetId ¶
func (m *Certificate) GetId() string
func (*Certificate) GetLocationName ¶
func (m *Certificate) GetLocationName() string
func (*Certificate) GetName ¶
func (m *Certificate) GetName() string
func (*Certificate) GetNotAfter ¶
func (m *Certificate) GetNotAfter() int64
func (*Certificate) GetNotBefore ¶
func (m *Certificate) GetNotBefore() int64
func (*Certificate) GetStatus ¶
func (m *Certificate) GetStatus() *common.Status
func (*Certificate) GetTags ¶ added in v0.10.5
func (m *Certificate) GetTags() *common.Tags
func (*Certificate) GetType ¶
func (m *Certificate) GetType() CertificateType
func (*Certificate) GetVaultName ¶
func (m *Certificate) GetVaultName() string
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) Reset ¶
func (m *Certificate) Reset()
func (*Certificate) String ¶
func (m *Certificate) String() string
func (*Certificate) XXX_DiscardUnknown ¶
func (m *Certificate) XXX_DiscardUnknown()
func (*Certificate) XXX_Marshal ¶
func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Certificate) XXX_Merge ¶
func (m *Certificate) XXX_Merge(src proto.Message)
func (*Certificate) XXX_Size ¶
func (m *Certificate) XXX_Size() int
func (*Certificate) XXX_Unmarshal ¶
func (m *Certificate) XXX_Unmarshal(b []byte) error
type CertificateAgentClient ¶
type CertificateAgentClient interface { CreateOrUpdate(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) Get(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) Delete(ctx context.Context, in *CertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error) Sign(ctx context.Context, in *CSRRequest, opts ...grpc.CallOption) (*CertificateResponse, error) Renew(ctx context.Context, in *CSRRequest, opts ...grpc.CallOption) (*CertificateResponse, error) // Prechecks whether the system is able to create specified certificates (but does not actually create them). Precheck(ctx context.Context, in *CertificatePrecheckRequest, opts ...grpc.CallOption) (*CertificatePrecheckResponse, error) }
CertificateAgentClient is the client API for CertificateAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCertificateAgentClient ¶
func NewCertificateAgentClient(cc *grpc.ClientConn) CertificateAgentClient
type CertificateAgentServer ¶
type CertificateAgentServer interface { CreateOrUpdate(context.Context, *CertificateRequest) (*CertificateResponse, error) Get(context.Context, *CertificateRequest) (*CertificateResponse, error) Delete(context.Context, *CertificateRequest) (*CertificateResponse, error) Sign(context.Context, *CSRRequest) (*CertificateResponse, error) Renew(context.Context, *CSRRequest) (*CertificateResponse, error) // Prechecks whether the system is able to create specified certificates (but does not actually create them). Precheck(context.Context, *CertificatePrecheckRequest) (*CertificatePrecheckResponse, error) }
CertificateAgentServer is the server API for CertificateAgent service.
type CertificatePrecheckRequest ¶ added in v0.19.3
type CertificatePrecheckRequest struct { Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificatePrecheckRequest) Descriptor ¶ added in v0.19.3
func (*CertificatePrecheckRequest) Descriptor() ([]byte, []int)
func (*CertificatePrecheckRequest) GetCertificates ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) GetCertificates() []*Certificate
func (*CertificatePrecheckRequest) ProtoMessage ¶ added in v0.19.3
func (*CertificatePrecheckRequest) ProtoMessage()
func (*CertificatePrecheckRequest) Reset ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) Reset()
func (*CertificatePrecheckRequest) String ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) String() string
func (*CertificatePrecheckRequest) XXX_DiscardUnknown ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) XXX_DiscardUnknown()
func (*CertificatePrecheckRequest) XXX_Marshal ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificatePrecheckRequest) XXX_Merge ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) XXX_Merge(src proto.Message)
func (*CertificatePrecheckRequest) XXX_Size ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) XXX_Size() int
func (*CertificatePrecheckRequest) XXX_Unmarshal ¶ added in v0.19.3
func (m *CertificatePrecheckRequest) XXX_Unmarshal(b []byte) error
type CertificatePrecheckResponse ¶ added in v0.19.3
type CertificatePrecheckResponse struct { // The precheck result: true if the precheck criteria is passed; otherwise, false Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"` // The error message if the precheck is not passed; otherwise, empty string Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificatePrecheckResponse) Descriptor ¶ added in v0.19.3
func (*CertificatePrecheckResponse) Descriptor() ([]byte, []int)
func (*CertificatePrecheckResponse) GetError ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) GetError() string
func (*CertificatePrecheckResponse) GetResult ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) GetResult() *wrappers.BoolValue
func (*CertificatePrecheckResponse) ProtoMessage ¶ added in v0.19.3
func (*CertificatePrecheckResponse) ProtoMessage()
func (*CertificatePrecheckResponse) Reset ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) Reset()
func (*CertificatePrecheckResponse) String ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) String() string
func (*CertificatePrecheckResponse) XXX_DiscardUnknown ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) XXX_DiscardUnknown()
func (*CertificatePrecheckResponse) XXX_Marshal ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificatePrecheckResponse) XXX_Merge ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) XXX_Merge(src proto.Message)
func (*CertificatePrecheckResponse) XXX_Size ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) XXX_Size() int
func (*CertificatePrecheckResponse) XXX_Unmarshal ¶ added in v0.19.3
func (m *CertificatePrecheckResponse) XXX_Unmarshal(b []byte) error
type CertificateRequest ¶
type CertificateRequest struct { Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificateRequest) Descriptor ¶
func (*CertificateRequest) Descriptor() ([]byte, []int)
func (*CertificateRequest) GetCertificates ¶
func (m *CertificateRequest) GetCertificates() []*Certificate
func (*CertificateRequest) ProtoMessage ¶
func (*CertificateRequest) ProtoMessage()
func (*CertificateRequest) Reset ¶
func (m *CertificateRequest) Reset()
func (*CertificateRequest) String ¶
func (m *CertificateRequest) String() string
func (*CertificateRequest) XXX_DiscardUnknown ¶
func (m *CertificateRequest) XXX_DiscardUnknown()
func (*CertificateRequest) XXX_Marshal ¶
func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateRequest) XXX_Merge ¶
func (m *CertificateRequest) XXX_Merge(src proto.Message)
func (*CertificateRequest) XXX_Size ¶
func (m *CertificateRequest) XXX_Size() int
func (*CertificateRequest) XXX_Unmarshal ¶
func (m *CertificateRequest) XXX_Unmarshal(b []byte) error
type CertificateResponse ¶
type CertificateResponse struct { Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificateResponse) Descriptor ¶
func (*CertificateResponse) Descriptor() ([]byte, []int)
func (*CertificateResponse) GetCertificates ¶
func (m *CertificateResponse) GetCertificates() []*Certificate
func (*CertificateResponse) GetError ¶
func (m *CertificateResponse) GetError() string
func (*CertificateResponse) GetResult ¶
func (m *CertificateResponse) GetResult() *wrappers.BoolValue
func (*CertificateResponse) ProtoMessage ¶
func (*CertificateResponse) ProtoMessage()
func (*CertificateResponse) Reset ¶
func (m *CertificateResponse) Reset()
func (*CertificateResponse) String ¶
func (m *CertificateResponse) String() string
func (*CertificateResponse) XXX_DiscardUnknown ¶
func (m *CertificateResponse) XXX_DiscardUnknown()
func (*CertificateResponse) XXX_Marshal ¶
func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateResponse) XXX_Merge ¶
func (m *CertificateResponse) XXX_Merge(src proto.Message)
func (*CertificateResponse) XXX_Size ¶
func (m *CertificateResponse) XXX_Size() int
func (*CertificateResponse) XXX_Unmarshal ¶
func (m *CertificateResponse) XXX_Unmarshal(b []byte) error
type CertificateSigningRequest ¶ added in v0.10.7
type CertificateSigningRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Csr string `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"` OldCertificate string `protobuf:"bytes,3,opt,name=oldCertificate,proto3" json:"oldCertificate,omitempty"` Status *common.Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` CaName string `protobuf:"bytes,5,opt,name=caName,proto3" json:"caName,omitempty"` GroupName string `protobuf:"bytes,6,opt,name=groupName,proto3" json:"groupName,omitempty"` VaultName string `protobuf:"bytes,7,opt,name=vaultName,proto3" json:"vaultName,omitempty"` LocationName string `protobuf:"bytes,8,opt,name=locationName,proto3" json:"locationName,omitempty"` Identity string `protobuf:"bytes,9,opt,name=identity,proto3" json:"identity,omitempty"` Validity int64 `protobuf:"varint,10,opt,name=validity,proto3" json:"validity,omitempty"` IsCA *wrappers.BoolValue `protobuf:"bytes,11,opt,name=isCA,proto3" json:"isCA,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificateSigningRequest) Descriptor ¶ added in v0.10.7
func (*CertificateSigningRequest) Descriptor() ([]byte, []int)
func (*CertificateSigningRequest) GetCaName ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetCaName() string
func (*CertificateSigningRequest) GetCsr ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetCsr() string
func (*CertificateSigningRequest) GetGroupName ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetGroupName() string
func (*CertificateSigningRequest) GetIdentity ¶ added in v0.10.9
func (m *CertificateSigningRequest) GetIdentity() string
func (*CertificateSigningRequest) GetIsCA ¶ added in v0.10.31
func (m *CertificateSigningRequest) GetIsCA() *wrappers.BoolValue
func (*CertificateSigningRequest) GetLocationName ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetLocationName() string
func (*CertificateSigningRequest) GetName ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetName() string
func (*CertificateSigningRequest) GetOldCertificate ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetOldCertificate() string
func (*CertificateSigningRequest) GetStatus ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetStatus() *common.Status
func (*CertificateSigningRequest) GetValidity ¶ added in v0.10.8
func (m *CertificateSigningRequest) GetValidity() int64
func (*CertificateSigningRequest) GetVaultName ¶ added in v0.10.7
func (m *CertificateSigningRequest) GetVaultName() string
func (*CertificateSigningRequest) ProtoMessage ¶ added in v0.10.7
func (*CertificateSigningRequest) ProtoMessage()
func (*CertificateSigningRequest) Reset ¶ added in v0.10.7
func (m *CertificateSigningRequest) Reset()
func (*CertificateSigningRequest) String ¶ added in v0.10.7
func (m *CertificateSigningRequest) String() string
func (*CertificateSigningRequest) XXX_DiscardUnknown ¶ added in v0.10.7
func (m *CertificateSigningRequest) XXX_DiscardUnknown()
func (*CertificateSigningRequest) XXX_Marshal ¶ added in v0.10.7
func (m *CertificateSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateSigningRequest) XXX_Merge ¶ added in v0.10.7
func (m *CertificateSigningRequest) XXX_Merge(src proto.Message)
func (*CertificateSigningRequest) XXX_Size ¶ added in v0.10.7
func (m *CertificateSigningRequest) XXX_Size() int
func (*CertificateSigningRequest) XXX_Unmarshal ¶ added in v0.10.7
func (m *CertificateSigningRequest) XXX_Unmarshal(b []byte) error
type CertificateType ¶
type CertificateType int32
const ( CertificateType_Client CertificateType = 0 CertificateType_Server CertificateType = 1 )
func (CertificateType) EnumDescriptor ¶
func (CertificateType) EnumDescriptor() ([]byte, []int)
func (CertificateType) String ¶
func (x CertificateType) String() string
type GeneralAccessOperation ¶ added in v0.10.27
type GeneralAccessOperation int32
const ( GeneralAccessOperation_Unspecified GeneralAccessOperation = 0 GeneralAccessOperation_Read GeneralAccessOperation = 1 GeneralAccessOperation_Write GeneralAccessOperation = 2 GeneralAccessOperation_Delete GeneralAccessOperation = 3 GeneralAccessOperation_All GeneralAccessOperation = 4 GeneralAccessOperation_ProviderAction GeneralAccessOperation = 5 )
func (GeneralAccessOperation) EnumDescriptor ¶ added in v0.10.27
func (GeneralAccessOperation) EnumDescriptor() ([]byte, []int)
func (GeneralAccessOperation) String ¶ added in v0.10.27
func (x GeneralAccessOperation) String() string
type Identity ¶
type Identity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ResourceGroup string `protobuf:"bytes,3,opt,name=resourceGroup,proto3" json:"resourceGroup,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` Status *common.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` LocationName string `protobuf:"bytes,10,opt,name=locationName,proto3" json:"locationName,omitempty"` Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` Certificates map[string]string `` /* 166-byte string literal not displayed */ TokenExpiry int64 `protobuf:"varint,13,opt,name=tokenExpiry,proto3" json:"tokenExpiry,omitempty"` // Deprecated: Do not use. ClientType common.ClientType `protobuf:"varint,14,opt,name=clientType,proto3,enum=moc.ClientType" json:"clientType,omitempty"` CloudFqdn string `protobuf:"bytes,15,opt,name=cloudFqdn,proto3" json:"cloudFqdn,omitempty"` CloudPort int32 `protobuf:"varint,16,opt,name=cloudPort,proto3" json:"cloudPort,omitempty"` CloudAuthPort int32 `protobuf:"varint,17,opt,name=cloudAuthPort,proto3" json:"cloudAuthPort,omitempty"` AuthType common.AuthenticationType `protobuf:"varint,18,opt,name=authType,proto3,enum=moc.AuthenticationType" json:"authType,omitempty"` // Deprecated: Do not use. Revoked bool `protobuf:"varint,19,opt,name=revoked,proto3" json:"revoked,omitempty"` AutoRotate bool `protobuf:"varint,20,opt,name=autoRotate,proto3" json:"autoRotate,omitempty"` LoginFilePath string `protobuf:"bytes,21,opt,name=loginFilePath,proto3" json:"loginFilePath,omitempty"` TokenExpiryInSeconds int64 `protobuf:"varint,22,opt,name=tokenExpiryInSeconds,proto3" json:"tokenExpiryInSeconds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Identity) Descriptor ¶
func (*Identity) GetAuthType
deprecated
added in
v0.10.8
func (m *Identity) GetAuthType() common.AuthenticationType
Deprecated: Do not use.
func (*Identity) GetAutoRotate ¶ added in v0.10.26
func (*Identity) GetCertificates ¶ added in v0.10.6
func (*Identity) GetClientType ¶ added in v0.10.7
func (m *Identity) GetClientType() common.ClientType
func (*Identity) GetCloudAuthPort ¶ added in v0.10.7
func (*Identity) GetCloudFqdn ¶ added in v0.10.7
func (*Identity) GetCloudPort ¶ added in v0.10.7
func (*Identity) GetLocationName ¶
func (*Identity) GetLoginFilePath ¶ added in v0.10.26
func (*Identity) GetPassword ¶
func (*Identity) GetResourceGroup ¶
func (*Identity) GetRevoked ¶ added in v0.10.8
func (*Identity) GetTokenExpiry
deprecated
added in
v0.10.7
func (*Identity) GetTokenExpiryInSeconds ¶ added in v0.10.26
func (*Identity) ProtoMessage ¶
func (*Identity) ProtoMessage()
func (*Identity) XXX_DiscardUnknown ¶
func (m *Identity) XXX_DiscardUnknown()
func (*Identity) XXX_Marshal ¶
func (*Identity) XXX_Unmarshal ¶
type IdentityAgentClient ¶
type IdentityAgentClient interface { Invoke(ctx context.Context, in *IdentityRequest, opts ...grpc.CallOption) (*IdentityResponse, error) Operate(ctx context.Context, in *IdentityOperationRequest, opts ...grpc.CallOption) (*IdentityResponse, error) OperateCertificates(ctx context.Context, in *IdentityCertificateRequest, opts ...grpc.CallOption) (*IdentityCertificateResponse, error) // Prechecks whether the system is able to create specified identities (but does not actually create them). Precheck(ctx context.Context, in *IdentityPrecheckRequest, opts ...grpc.CallOption) (*IdentityPrecheckResponse, error) }
IdentityAgentClient is the client API for IdentityAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIdentityAgentClient ¶
func NewIdentityAgentClient(cc *grpc.ClientConn) IdentityAgentClient
type IdentityAgentServer ¶
type IdentityAgentServer interface { Invoke(context.Context, *IdentityRequest) (*IdentityResponse, error) Operate(context.Context, *IdentityOperationRequest) (*IdentityResponse, error) OperateCertificates(context.Context, *IdentityCertificateRequest) (*IdentityCertificateResponse, error) // Prechecks whether the system is able to create specified identities (but does not actually create them). Precheck(context.Context, *IdentityPrecheckRequest) (*IdentityPrecheckResponse, error) }
IdentityAgentServer is the server API for IdentityAgent service.
type IdentityCertificateRequest ¶ added in v0.10.8
type IdentityCertificateRequest struct { IdentityName string `protobuf:"bytes,1,opt,name=IdentityName,proto3" json:"IdentityName,omitempty"` CSR []*CertificateSigningRequest `protobuf:"bytes,2,rep,name=CSR,proto3" json:"CSR,omitempty"` OBSOLETE_OperationType common.IdentityCertificateOperation `` // Deprecated: Do not use. /* 163-byte string literal not displayed */ OperationType common.ProviderAccessOperation `protobuf:"varint,4,opt,name=OperationType,proto3,enum=moc.ProviderAccessOperation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdentityCertificateRequest) Descriptor ¶ added in v0.10.8
func (*IdentityCertificateRequest) Descriptor() ([]byte, []int)
func (*IdentityCertificateRequest) GetCSR ¶ added in v0.10.8
func (m *IdentityCertificateRequest) GetCSR() []*CertificateSigningRequest
func (*IdentityCertificateRequest) GetIdentityName ¶ added in v0.10.8
func (m *IdentityCertificateRequest) GetIdentityName() string
func (*IdentityCertificateRequest) GetOBSOLETE_OperationType
deprecated
added in
v0.10.27
func (m *IdentityCertificateRequest) GetOBSOLETE_OperationType() common.IdentityCertificateOperation
Deprecated: Do not use.
func (*IdentityCertificateRequest) GetOperationType ¶ added in v0.10.8
func (m *IdentityCertificateRequest) GetOperationType() common.ProviderAccessOperation
func (*IdentityCertificateRequest) ProtoMessage ¶ added in v0.10.8
func (*IdentityCertificateRequest) ProtoMessage()
func (*IdentityCertificateRequest) Reset ¶ added in v0.10.8
func (m *IdentityCertificateRequest) Reset()
func (*IdentityCertificateRequest) String ¶ added in v0.10.8
func (m *IdentityCertificateRequest) String() string
func (*IdentityCertificateRequest) XXX_DiscardUnknown ¶ added in v0.10.8
func (m *IdentityCertificateRequest) XXX_DiscardUnknown()
func (*IdentityCertificateRequest) XXX_Marshal ¶ added in v0.10.8
func (m *IdentityCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityCertificateRequest) XXX_Merge ¶ added in v0.10.8
func (m *IdentityCertificateRequest) XXX_Merge(src proto.Message)
func (*IdentityCertificateRequest) XXX_Size ¶ added in v0.10.8
func (m *IdentityCertificateRequest) XXX_Size() int
func (*IdentityCertificateRequest) XXX_Unmarshal ¶ added in v0.10.8
func (m *IdentityCertificateRequest) XXX_Unmarshal(b []byte) error
type IdentityCertificateResponse ¶ added in v0.10.8
type IdentityCertificateResponse struct { Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdentityCertificateResponse) Descriptor ¶ added in v0.10.8
func (*IdentityCertificateResponse) Descriptor() ([]byte, []int)
func (*IdentityCertificateResponse) GetCertificates ¶ added in v0.10.8
func (m *IdentityCertificateResponse) GetCertificates() []*Certificate
func (*IdentityCertificateResponse) GetError ¶ added in v0.10.8
func (m *IdentityCertificateResponse) GetError() string
func (*IdentityCertificateResponse) GetResult ¶ added in v0.10.8
func (m *IdentityCertificateResponse) GetResult() *wrappers.BoolValue
func (*IdentityCertificateResponse) ProtoMessage ¶ added in v0.10.8
func (*IdentityCertificateResponse) ProtoMessage()
func (*IdentityCertificateResponse) Reset ¶ added in v0.10.8
func (m *IdentityCertificateResponse) Reset()
func (*IdentityCertificateResponse) String ¶ added in v0.10.8
func (m *IdentityCertificateResponse) String() string
func (*IdentityCertificateResponse) XXX_DiscardUnknown ¶ added in v0.10.8
func (m *IdentityCertificateResponse) XXX_DiscardUnknown()
func (*IdentityCertificateResponse) XXX_Marshal ¶ added in v0.10.8
func (m *IdentityCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityCertificateResponse) XXX_Merge ¶ added in v0.10.8
func (m *IdentityCertificateResponse) XXX_Merge(src proto.Message)
func (*IdentityCertificateResponse) XXX_Size ¶ added in v0.10.8
func (m *IdentityCertificateResponse) XXX_Size() int
func (*IdentityCertificateResponse) XXX_Unmarshal ¶ added in v0.10.8
func (m *IdentityCertificateResponse) XXX_Unmarshal(b []byte) error
type IdentityOperationRequest ¶ added in v0.10.8
type IdentityOperationRequest struct { Identities []*Identity `protobuf:"bytes,1,rep,name=Identities,proto3" json:"Identities,omitempty"` OBSOLETE_OperationType common.IdentityOperation `` // Deprecated: Do not use. /* 152-byte string literal not displayed */ OperationType common.ProviderAccessOperation `protobuf:"varint,3,opt,name=OperationType,proto3,enum=moc.ProviderAccessOperation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdentityOperationRequest) Descriptor ¶ added in v0.10.8
func (*IdentityOperationRequest) Descriptor() ([]byte, []int)
func (*IdentityOperationRequest) GetIdentities ¶ added in v0.10.8
func (m *IdentityOperationRequest) GetIdentities() []*Identity
func (*IdentityOperationRequest) GetOBSOLETE_OperationType
deprecated
added in
v0.10.27
func (m *IdentityOperationRequest) GetOBSOLETE_OperationType() common.IdentityOperation
Deprecated: Do not use.
func (*IdentityOperationRequest) GetOperationType ¶ added in v0.10.8
func (m *IdentityOperationRequest) GetOperationType() common.ProviderAccessOperation
func (*IdentityOperationRequest) ProtoMessage ¶ added in v0.10.8
func (*IdentityOperationRequest) ProtoMessage()
func (*IdentityOperationRequest) Reset ¶ added in v0.10.8
func (m *IdentityOperationRequest) Reset()
func (*IdentityOperationRequest) String ¶ added in v0.10.8
func (m *IdentityOperationRequest) String() string
func (*IdentityOperationRequest) XXX_DiscardUnknown ¶ added in v0.10.8
func (m *IdentityOperationRequest) XXX_DiscardUnknown()
func (*IdentityOperationRequest) XXX_Marshal ¶ added in v0.10.8
func (m *IdentityOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityOperationRequest) XXX_Merge ¶ added in v0.10.8
func (m *IdentityOperationRequest) XXX_Merge(src proto.Message)
func (*IdentityOperationRequest) XXX_Size ¶ added in v0.10.8
func (m *IdentityOperationRequest) XXX_Size() int
func (*IdentityOperationRequest) XXX_Unmarshal ¶ added in v0.10.8
func (m *IdentityOperationRequest) XXX_Unmarshal(b []byte) error
type IdentityPrecheckRequest ¶ added in v0.19.3
type IdentityPrecheckRequest struct { Identities []*Identity `protobuf:"bytes,1,rep,name=Identities,proto3" json:"Identities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdentityPrecheckRequest) Descriptor ¶ added in v0.19.3
func (*IdentityPrecheckRequest) Descriptor() ([]byte, []int)
func (*IdentityPrecheckRequest) GetIdentities ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) GetIdentities() []*Identity
func (*IdentityPrecheckRequest) ProtoMessage ¶ added in v0.19.3
func (*IdentityPrecheckRequest) ProtoMessage()
func (*IdentityPrecheckRequest) Reset ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) Reset()
func (*IdentityPrecheckRequest) String ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) String() string
func (*IdentityPrecheckRequest) XXX_DiscardUnknown ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) XXX_DiscardUnknown()
func (*IdentityPrecheckRequest) XXX_Marshal ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityPrecheckRequest) XXX_Merge ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) XXX_Merge(src proto.Message)
func (*IdentityPrecheckRequest) XXX_Size ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) XXX_Size() int
func (*IdentityPrecheckRequest) XXX_Unmarshal ¶ added in v0.19.3
func (m *IdentityPrecheckRequest) XXX_Unmarshal(b []byte) error
type IdentityPrecheckResponse ¶ added in v0.19.3
type IdentityPrecheckResponse struct { // The precheck result: true if the precheck criteria is passed; otherwise, false Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"` // The error message if the precheck is not passed; otherwise, empty string Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdentityPrecheckResponse) Descriptor ¶ added in v0.19.3
func (*IdentityPrecheckResponse) Descriptor() ([]byte, []int)
func (*IdentityPrecheckResponse) GetError ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) GetError() string
func (*IdentityPrecheckResponse) GetResult ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) GetResult() *wrappers.BoolValue
func (*IdentityPrecheckResponse) ProtoMessage ¶ added in v0.19.3
func (*IdentityPrecheckResponse) ProtoMessage()
func (*IdentityPrecheckResponse) Reset ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) Reset()
func (*IdentityPrecheckResponse) String ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) String() string
func (*IdentityPrecheckResponse) XXX_DiscardUnknown ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) XXX_DiscardUnknown()
func (*IdentityPrecheckResponse) XXX_Marshal ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityPrecheckResponse) XXX_Merge ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) XXX_Merge(src proto.Message)
func (*IdentityPrecheckResponse) XXX_Size ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) XXX_Size() int
func (*IdentityPrecheckResponse) XXX_Unmarshal ¶ added in v0.19.3
func (m *IdentityPrecheckResponse) XXX_Unmarshal(b []byte) error
type IdentityRequest ¶
type IdentityRequest struct { Identitys []*Identity `protobuf:"bytes,1,rep,name=Identitys,proto3" json:"Identitys,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdentityRequest) Descriptor ¶
func (*IdentityRequest) Descriptor() ([]byte, []int)
func (*IdentityRequest) GetIdentitys ¶
func (m *IdentityRequest) GetIdentitys() []*Identity
func (*IdentityRequest) GetOperationType ¶
func (m *IdentityRequest) GetOperationType() common.Operation
func (*IdentityRequest) ProtoMessage ¶
func (*IdentityRequest) ProtoMessage()
func (*IdentityRequest) Reset ¶
func (m *IdentityRequest) Reset()
func (*IdentityRequest) String ¶
func (m *IdentityRequest) String() string
func (*IdentityRequest) XXX_DiscardUnknown ¶
func (m *IdentityRequest) XXX_DiscardUnknown()
func (*IdentityRequest) XXX_Marshal ¶
func (m *IdentityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityRequest) XXX_Merge ¶
func (m *IdentityRequest) XXX_Merge(src proto.Message)
func (*IdentityRequest) XXX_Size ¶
func (m *IdentityRequest) XXX_Size() int
func (*IdentityRequest) XXX_Unmarshal ¶
func (m *IdentityRequest) XXX_Unmarshal(b []byte) error
type IdentityResponse ¶
type IdentityResponse struct { Identitys []*Identity `protobuf:"bytes,1,rep,name=Identitys,proto3" json:"Identitys,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdentityResponse) Descriptor ¶
func (*IdentityResponse) Descriptor() ([]byte, []int)
func (*IdentityResponse) GetError ¶
func (m *IdentityResponse) GetError() string
func (*IdentityResponse) GetIdentitys ¶
func (m *IdentityResponse) GetIdentitys() []*Identity
func (*IdentityResponse) GetResult ¶
func (m *IdentityResponse) GetResult() *wrappers.BoolValue
func (*IdentityResponse) ProtoMessage ¶
func (*IdentityResponse) ProtoMessage()
func (*IdentityResponse) Reset ¶
func (m *IdentityResponse) Reset()
func (*IdentityResponse) String ¶
func (m *IdentityResponse) String() string
func (*IdentityResponse) XXX_DiscardUnknown ¶
func (m *IdentityResponse) XXX_DiscardUnknown()
func (*IdentityResponse) XXX_Marshal ¶
func (m *IdentityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityResponse) XXX_Merge ¶
func (m *IdentityResponse) XXX_Merge(src proto.Message)
func (*IdentityResponse) XXX_Size ¶
func (m *IdentityResponse) XXX_Size() int
func (*IdentityResponse) XXX_Unmarshal ¶
func (m *IdentityResponse) XXX_Unmarshal(b []byte) error
type Key ¶
type Key struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` LocationName string `protobuf:"bytes,3,opt,name=locationName,proto3" json:"locationName,omitempty"` // Public Key Value PublicKey []byte `protobuf:"bytes,4,opt,name=publicKey,proto3" json:"publicKey,omitempty"` Type common.JsonWebKeyType `protobuf:"varint,5,opt,name=type,proto3,enum=moc.JsonWebKeyType" json:"type,omitempty"` VaultName string `protobuf:"bytes,6,opt,name=vaultName,proto3" json:"vaultName,omitempty"` GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` Size common.KeySize `protobuf:"varint,9,opt,name=size,proto3,enum=moc.KeySize" json:"size,omitempty"` Curve common.JsonWebKeyCurveName `protobuf:"varint,10,opt,name=curve,proto3,enum=moc.JsonWebKeyCurveName" json:"curve,omitempty"` KeyOps []common.KeyOperation `protobuf:"varint,11,rep,packed,name=keyOps,proto3,enum=moc.KeyOperation" json:"keyOps,omitempty"` Tags *common.Tags `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"` KeyRotationFrequencyInSeconds int64 `protobuf:"varint,13,opt,name=keyRotationFrequencyInSeconds,proto3" json:"keyRotationFrequencyInSeconds,omitempty"` // Private Key Value and wrapping information PrivateKey []byte `protobuf:"bytes,14,opt,name=privateKey,proto3" json:"privateKey,omitempty"` PrivateKeyWrappingInfo *PrivateKeyWrappingInfo `protobuf:"bytes,15,opt,name=privateKeyWrappingInfo,proto3" json:"privateKeyWrappingInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Key) Descriptor ¶
func (*Key) GetCurve ¶
func (m *Key) GetCurve() common.JsonWebKeyCurveName
func (*Key) GetGroupName ¶
func (*Key) GetKeyOps ¶
func (m *Key) GetKeyOps() []common.KeyOperation
func (*Key) GetKeyRotationFrequencyInSeconds ¶ added in v0.10.19
func (*Key) GetLocationName ¶
func (*Key) GetPrivateKey ¶ added in v0.10.21
func (*Key) GetPrivateKeyWrappingInfo ¶ added in v0.10.21
func (m *Key) GetPrivateKeyWrappingInfo() *PrivateKeyWrappingInfo
func (*Key) GetPublicKey ¶
func (*Key) GetType ¶
func (m *Key) GetType() common.JsonWebKeyType
func (*Key) GetVaultName ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) XXX_DiscardUnknown ¶
func (m *Key) XXX_DiscardUnknown()
func (*Key) XXX_Unmarshal ¶
type KeyAgentClient ¶
type KeyAgentClient interface { Invoke(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*KeyResponse, error) Operate(ctx context.Context, in *KeyOperationRequest, opts ...grpc.CallOption) (*KeyOperationResponse, error) }
KeyAgentClient is the client API for KeyAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeyAgentClient ¶
func NewKeyAgentClient(cc *grpc.ClientConn) KeyAgentClient
type KeyAgentServer ¶
type KeyAgentServer interface { Invoke(context.Context, *KeyRequest) (*KeyResponse, error) Operate(context.Context, *KeyOperationRequest) (*KeyOperationResponse, error) }
KeyAgentServer is the server API for KeyAgent service.
type KeyOperationRequest ¶
type KeyOperationRequest struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Data string `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` Algorithm common.Algorithm `protobuf:"varint,3,opt,name=algorithm,proto3,enum=moc.Algorithm" json:"algorithm,omitempty"` OBSOLETE_OperationType common.KeyOperation `` // Deprecated: Do not use. /* 147-byte string literal not displayed */ SignVerifyParams *SignVerifyParams `protobuf:"bytes,5,opt,name=SignVerifyParams,proto3" json:"SignVerifyParams,omitempty"` OperationType common.ProviderAccessOperation `protobuf:"varint,6,opt,name=OperationType,proto3,enum=moc.ProviderAccessOperation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyOperationRequest) Descriptor ¶
func (*KeyOperationRequest) Descriptor() ([]byte, []int)
func (*KeyOperationRequest) GetAlgorithm ¶
func (m *KeyOperationRequest) GetAlgorithm() common.Algorithm
func (*KeyOperationRequest) GetData ¶
func (m *KeyOperationRequest) GetData() string
func (*KeyOperationRequest) GetKey ¶
func (m *KeyOperationRequest) GetKey() *Key
func (*KeyOperationRequest) GetOBSOLETE_OperationType
deprecated
added in
v0.10.27
func (m *KeyOperationRequest) GetOBSOLETE_OperationType() common.KeyOperation
Deprecated: Do not use.
func (*KeyOperationRequest) GetOperationType ¶
func (m *KeyOperationRequest) GetOperationType() common.ProviderAccessOperation
func (*KeyOperationRequest) GetSignVerifyParams ¶ added in v0.10.24
func (m *KeyOperationRequest) GetSignVerifyParams() *SignVerifyParams
func (*KeyOperationRequest) ProtoMessage ¶
func (*KeyOperationRequest) ProtoMessage()
func (*KeyOperationRequest) Reset ¶
func (m *KeyOperationRequest) Reset()
func (*KeyOperationRequest) String ¶
func (m *KeyOperationRequest) String() string
func (*KeyOperationRequest) XXX_DiscardUnknown ¶
func (m *KeyOperationRequest) XXX_DiscardUnknown()
func (*KeyOperationRequest) XXX_Marshal ¶
func (m *KeyOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyOperationRequest) XXX_Merge ¶
func (m *KeyOperationRequest) XXX_Merge(src proto.Message)
func (*KeyOperationRequest) XXX_Size ¶
func (m *KeyOperationRequest) XXX_Size() int
func (*KeyOperationRequest) XXX_Unmarshal ¶
func (m *KeyOperationRequest) XXX_Unmarshal(b []byte) error
type KeyOperationResponse ¶
type KeyOperationResponse struct { Data string `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyOperationResponse) Descriptor ¶
func (*KeyOperationResponse) Descriptor() ([]byte, []int)
func (*KeyOperationResponse) GetData ¶
func (m *KeyOperationResponse) GetData() string
func (*KeyOperationResponse) GetError ¶
func (m *KeyOperationResponse) GetError() string
func (*KeyOperationResponse) GetResult ¶
func (m *KeyOperationResponse) GetResult() *wrappers.BoolValue
func (*KeyOperationResponse) ProtoMessage ¶
func (*KeyOperationResponse) ProtoMessage()
func (*KeyOperationResponse) Reset ¶
func (m *KeyOperationResponse) Reset()
func (*KeyOperationResponse) String ¶
func (m *KeyOperationResponse) String() string
func (*KeyOperationResponse) XXX_DiscardUnknown ¶
func (m *KeyOperationResponse) XXX_DiscardUnknown()
func (*KeyOperationResponse) XXX_Marshal ¶
func (m *KeyOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyOperationResponse) XXX_Merge ¶
func (m *KeyOperationResponse) XXX_Merge(src proto.Message)
func (*KeyOperationResponse) XXX_Size ¶
func (m *KeyOperationResponse) XXX_Size() int
func (*KeyOperationResponse) XXX_Unmarshal ¶
func (m *KeyOperationResponse) XXX_Unmarshal(b []byte) error
type KeyRequest ¶
type KeyRequest struct { Keys []*Key `protobuf:"bytes,1,rep,name=Keys,proto3" json:"Keys,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyRequest) Descriptor ¶
func (*KeyRequest) Descriptor() ([]byte, []int)
func (*KeyRequest) GetKeys ¶
func (m *KeyRequest) GetKeys() []*Key
func (*KeyRequest) GetOperationType ¶
func (m *KeyRequest) GetOperationType() common.Operation
func (*KeyRequest) ProtoMessage ¶
func (*KeyRequest) ProtoMessage()
func (*KeyRequest) Reset ¶
func (m *KeyRequest) Reset()
func (*KeyRequest) String ¶
func (m *KeyRequest) String() string
func (*KeyRequest) XXX_DiscardUnknown ¶
func (m *KeyRequest) XXX_DiscardUnknown()
func (*KeyRequest) XXX_Marshal ¶
func (m *KeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyRequest) XXX_Merge ¶
func (m *KeyRequest) XXX_Merge(src proto.Message)
func (*KeyRequest) XXX_Size ¶
func (m *KeyRequest) XXX_Size() int
func (*KeyRequest) XXX_Unmarshal ¶
func (m *KeyRequest) XXX_Unmarshal(b []byte) error
type KeyResponse ¶
type KeyResponse struct { Keys []*Key `protobuf:"bytes,1,rep,name=Keys,proto3" json:"Keys,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyResponse) Descriptor ¶
func (*KeyResponse) Descriptor() ([]byte, []int)
func (*KeyResponse) GetError ¶
func (m *KeyResponse) GetError() string
func (*KeyResponse) GetKeys ¶
func (m *KeyResponse) GetKeys() []*Key
func (*KeyResponse) GetResult ¶
func (m *KeyResponse) GetResult() *wrappers.BoolValue
func (*KeyResponse) ProtoMessage ¶
func (*KeyResponse) ProtoMessage()
func (*KeyResponse) Reset ¶
func (m *KeyResponse) Reset()
func (*KeyResponse) String ¶
func (m *KeyResponse) String() string
func (*KeyResponse) XXX_DiscardUnknown ¶
func (m *KeyResponse) XXX_DiscardUnknown()
func (*KeyResponse) XXX_Marshal ¶
func (m *KeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyResponse) XXX_Merge ¶
func (m *KeyResponse) XXX_Merge(src proto.Message)
func (*KeyResponse) XXX_Size ¶
func (m *KeyResponse) XXX_Size() int
func (*KeyResponse) XXX_Unmarshal ¶
func (m *KeyResponse) XXX_Unmarshal(b []byte) error
type KeyVault ¶
type KeyVault struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Secrets []*Secret `protobuf:"bytes,3,rep,name=Secrets,proto3" json:"Secrets,omitempty"` GroupName string `protobuf:"bytes,4,opt,name=groupName,proto3" json:"groupName,omitempty"` Status *common.Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` LocationName string `protobuf:"bytes,10,opt,name=locationName,proto3" json:"locationName,omitempty"` Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyVault) Descriptor ¶
func (*KeyVault) GetGroupName ¶
func (*KeyVault) GetLocationName ¶
func (*KeyVault) GetSecrets ¶
func (*KeyVault) ProtoMessage ¶
func (*KeyVault) ProtoMessage()
func (*KeyVault) XXX_DiscardUnknown ¶
func (m *KeyVault) XXX_DiscardUnknown()
func (*KeyVault) XXX_Marshal ¶
func (*KeyVault) XXX_Unmarshal ¶
type KeyVaultAgentClient ¶
type KeyVaultAgentClient interface {
Invoke(ctx context.Context, in *KeyVaultRequest, opts ...grpc.CallOption) (*KeyVaultResponse, error)
}
KeyVaultAgentClient is the client API for KeyVaultAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeyVaultAgentClient ¶
func NewKeyVaultAgentClient(cc *grpc.ClientConn) KeyVaultAgentClient
type KeyVaultAgentServer ¶
type KeyVaultAgentServer interface {
Invoke(context.Context, *KeyVaultRequest) (*KeyVaultResponse, error)
}
KeyVaultAgentServer is the server API for KeyVaultAgent service.
type KeyVaultRequest ¶
type KeyVaultRequest struct { KeyVaults []*KeyVault `protobuf:"bytes,1,rep,name=KeyVaults,proto3" json:"KeyVaults,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyVaultRequest) Descriptor ¶
func (*KeyVaultRequest) Descriptor() ([]byte, []int)
func (*KeyVaultRequest) GetKeyVaults ¶
func (m *KeyVaultRequest) GetKeyVaults() []*KeyVault
func (*KeyVaultRequest) GetOperationType ¶
func (m *KeyVaultRequest) GetOperationType() common.Operation
func (*KeyVaultRequest) ProtoMessage ¶
func (*KeyVaultRequest) ProtoMessage()
func (*KeyVaultRequest) Reset ¶
func (m *KeyVaultRequest) Reset()
func (*KeyVaultRequest) String ¶
func (m *KeyVaultRequest) String() string
func (*KeyVaultRequest) XXX_DiscardUnknown ¶
func (m *KeyVaultRequest) XXX_DiscardUnknown()
func (*KeyVaultRequest) XXX_Marshal ¶
func (m *KeyVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyVaultRequest) XXX_Merge ¶
func (m *KeyVaultRequest) XXX_Merge(src proto.Message)
func (*KeyVaultRequest) XXX_Size ¶
func (m *KeyVaultRequest) XXX_Size() int
func (*KeyVaultRequest) XXX_Unmarshal ¶
func (m *KeyVaultRequest) XXX_Unmarshal(b []byte) error
type KeyVaultResponse ¶
type KeyVaultResponse struct { KeyVaults []*KeyVault `protobuf:"bytes,1,rep,name=KeyVaults,proto3" json:"KeyVaults,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyVaultResponse) Descriptor ¶
func (*KeyVaultResponse) Descriptor() ([]byte, []int)
func (*KeyVaultResponse) GetError ¶
func (m *KeyVaultResponse) GetError() string
func (*KeyVaultResponse) GetKeyVaults ¶
func (m *KeyVaultResponse) GetKeyVaults() []*KeyVault
func (*KeyVaultResponse) GetResult ¶
func (m *KeyVaultResponse) GetResult() *wrappers.BoolValue
func (*KeyVaultResponse) ProtoMessage ¶
func (*KeyVaultResponse) ProtoMessage()
func (*KeyVaultResponse) Reset ¶
func (m *KeyVaultResponse) Reset()
func (*KeyVaultResponse) String ¶
func (m *KeyVaultResponse) String() string
func (*KeyVaultResponse) XXX_DiscardUnknown ¶
func (m *KeyVaultResponse) XXX_DiscardUnknown()
func (*KeyVaultResponse) XXX_Marshal ¶
func (m *KeyVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyVaultResponse) XXX_Merge ¶
func (m *KeyVaultResponse) XXX_Merge(src proto.Message)
func (*KeyVaultResponse) XXX_Size ¶
func (m *KeyVaultResponse) XXX_Size() int
func (*KeyVaultResponse) XXX_Unmarshal ¶
func (m *KeyVaultResponse) XXX_Unmarshal(b []byte) error
type Permission ¶ added in v0.10.9
type Permission struct { Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` NotActions []*Action `protobuf:"bytes,2,rep,name=notActions,proto3" json:"notActions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Permission) Descriptor ¶ added in v0.10.9
func (*Permission) Descriptor() ([]byte, []int)
func (*Permission) GetActions ¶ added in v0.10.9
func (m *Permission) GetActions() []*Action
func (*Permission) GetNotActions ¶ added in v0.10.9
func (m *Permission) GetNotActions() []*Action
func (*Permission) ProtoMessage ¶ added in v0.10.9
func (*Permission) ProtoMessage()
func (*Permission) Reset ¶ added in v0.10.9
func (m *Permission) Reset()
func (*Permission) String ¶ added in v0.10.9
func (m *Permission) String() string
func (*Permission) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *Permission) XXX_DiscardUnknown()
func (*Permission) XXX_Marshal ¶ added in v0.10.9
func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Permission) XXX_Merge ¶ added in v0.10.9
func (m *Permission) XXX_Merge(src proto.Message)
func (*Permission) XXX_Size ¶ added in v0.10.9
func (m *Permission) XXX_Size() int
func (*Permission) XXX_Unmarshal ¶ added in v0.10.9
func (m *Permission) XXX_Unmarshal(b []byte) error
type PrivateKeyWrappingInfo ¶ added in v0.10.21
type PrivateKeyWrappingInfo struct { WrappingKeyName string `protobuf:"bytes,1,opt,name=WrappingKeyName,proto3" json:"WrappingKeyName,omitempty"` WrappingKeyPublic []byte `protobuf:"bytes,2,opt,name=WrappingKeyPublic,proto3" json:"WrappingKeyPublic,omitempty"` WrappingAlgorithm common.KeyWrappingAlgorithm `protobuf:"varint,3,opt,name=WrappingAlgorithm,proto3,enum=moc.KeyWrappingAlgorithm" json:"WrappingAlgorithm,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrivateKeyWrappingInfo) Descriptor ¶ added in v0.10.21
func (*PrivateKeyWrappingInfo) Descriptor() ([]byte, []int)
func (*PrivateKeyWrappingInfo) GetWrappingAlgorithm ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) GetWrappingAlgorithm() common.KeyWrappingAlgorithm
func (*PrivateKeyWrappingInfo) GetWrappingKeyName ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) GetWrappingKeyName() string
func (*PrivateKeyWrappingInfo) GetWrappingKeyPublic ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) GetWrappingKeyPublic() []byte
func (*PrivateKeyWrappingInfo) ProtoMessage ¶ added in v0.10.21
func (*PrivateKeyWrappingInfo) ProtoMessage()
func (*PrivateKeyWrappingInfo) Reset ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) Reset()
func (*PrivateKeyWrappingInfo) String ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) String() string
func (*PrivateKeyWrappingInfo) XXX_DiscardUnknown ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) XXX_DiscardUnknown()
func (*PrivateKeyWrappingInfo) XXX_Marshal ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateKeyWrappingInfo) XXX_Merge ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) XXX_Merge(src proto.Message)
func (*PrivateKeyWrappingInfo) XXX_Size ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) XXX_Size() int
func (*PrivateKeyWrappingInfo) XXX_Unmarshal ¶ added in v0.10.21
func (m *PrivateKeyWrappingInfo) XXX_Unmarshal(b []byte) error
type Role ¶ added in v0.10.9
type Role struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The scopes to which this role can be applied AssignableScopes []*common.Scope `protobuf:"bytes,3,rep,name=assignableScopes,proto3" json:"assignableScopes,omitempty"` Permissions []*Permission `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"` Status *common.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` Tags *common.Tags `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Role) Descriptor ¶ added in v0.10.9
func (*Role) GetAssignableScopes ¶ added in v0.10.9
func (*Role) GetPermissions ¶ added in v0.10.9
func (m *Role) GetPermissions() []*Permission
func (*Role) ProtoMessage ¶ added in v0.10.9
func (*Role) ProtoMessage()
func (*Role) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *Role) XXX_DiscardUnknown()
func (*Role) XXX_Marshal ¶ added in v0.10.9
func (*Role) XXX_Unmarshal ¶ added in v0.10.9
type RoleAgentClient ¶ added in v0.10.9
type RoleAgentClient interface {
Invoke(ctx context.Context, in *RoleRequest, opts ...grpc.CallOption) (*RoleResponse, error)
}
RoleAgentClient is the client API for RoleAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRoleAgentClient ¶ added in v0.10.9
func NewRoleAgentClient(cc *grpc.ClientConn) RoleAgentClient
type RoleAgentServer ¶ added in v0.10.9
type RoleAgentServer interface {
Invoke(context.Context, *RoleRequest) (*RoleResponse, error)
}
RoleAgentServer is the server API for RoleAgent service.
type RoleAssignment ¶ added in v0.10.9
type RoleAssignment struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Name of role to be applied RoleName string `protobuf:"bytes,3,opt,name=roleName,proto3" json:"roleName,omitempty"` // Scope to which role is applied Scope *common.Scope `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"` // Name of identity to be assigned to IdentityName string `protobuf:"bytes,5,opt,name=identityName,proto3" json:"identityName,omitempty"` Status *common.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` Tags *common.Tags `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoleAssignment) Descriptor ¶ added in v0.10.9
func (*RoleAssignment) Descriptor() ([]byte, []int)
func (*RoleAssignment) GetId ¶ added in v0.10.9
func (m *RoleAssignment) GetId() string
func (*RoleAssignment) GetIdentityName ¶ added in v0.10.9
func (m *RoleAssignment) GetIdentityName() string
func (*RoleAssignment) GetName ¶ added in v0.10.9
func (m *RoleAssignment) GetName() string
func (*RoleAssignment) GetRoleName ¶ added in v0.10.9
func (m *RoleAssignment) GetRoleName() string
func (*RoleAssignment) GetScope ¶ added in v0.10.9
func (m *RoleAssignment) GetScope() *common.Scope
func (*RoleAssignment) GetStatus ¶ added in v0.10.9
func (m *RoleAssignment) GetStatus() *common.Status
func (*RoleAssignment) GetTags ¶ added in v0.10.9
func (m *RoleAssignment) GetTags() *common.Tags
func (*RoleAssignment) ProtoMessage ¶ added in v0.10.9
func (*RoleAssignment) ProtoMessage()
func (*RoleAssignment) Reset ¶ added in v0.10.9
func (m *RoleAssignment) Reset()
func (*RoleAssignment) String ¶ added in v0.10.9
func (m *RoleAssignment) String() string
func (*RoleAssignment) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *RoleAssignment) XXX_DiscardUnknown()
func (*RoleAssignment) XXX_Marshal ¶ added in v0.10.9
func (m *RoleAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoleAssignment) XXX_Merge ¶ added in v0.10.9
func (m *RoleAssignment) XXX_Merge(src proto.Message)
func (*RoleAssignment) XXX_Size ¶ added in v0.10.9
func (m *RoleAssignment) XXX_Size() int
func (*RoleAssignment) XXX_Unmarshal ¶ added in v0.10.9
func (m *RoleAssignment) XXX_Unmarshal(b []byte) error
type RoleAssignmentAgentClient ¶ added in v0.10.9
type RoleAssignmentAgentClient interface {
Invoke(ctx context.Context, in *RoleAssignmentRequest, opts ...grpc.CallOption) (*RoleAssignmentResponse, error)
}
RoleAssignmentAgentClient is the client API for RoleAssignmentAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRoleAssignmentAgentClient ¶ added in v0.10.9
func NewRoleAssignmentAgentClient(cc *grpc.ClientConn) RoleAssignmentAgentClient
type RoleAssignmentAgentServer ¶ added in v0.10.9
type RoleAssignmentAgentServer interface {
Invoke(context.Context, *RoleAssignmentRequest) (*RoleAssignmentResponse, error)
}
RoleAssignmentAgentServer is the server API for RoleAssignmentAgent service.
type RoleAssignmentRequest ¶ added in v0.10.9
type RoleAssignmentRequest struct { RoleAssignments []*RoleAssignment `protobuf:"bytes,2,rep,name=roleAssignments,proto3" json:"roleAssignments,omitempty"` OperationType common.Operation `protobuf:"varint,3,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoleAssignmentRequest) Descriptor ¶ added in v0.10.9
func (*RoleAssignmentRequest) Descriptor() ([]byte, []int)
func (*RoleAssignmentRequest) GetOperationType ¶ added in v0.10.9
func (m *RoleAssignmentRequest) GetOperationType() common.Operation
func (*RoleAssignmentRequest) GetRoleAssignments ¶ added in v0.10.9
func (m *RoleAssignmentRequest) GetRoleAssignments() []*RoleAssignment
func (*RoleAssignmentRequest) ProtoMessage ¶ added in v0.10.9
func (*RoleAssignmentRequest) ProtoMessage()
func (*RoleAssignmentRequest) Reset ¶ added in v0.10.9
func (m *RoleAssignmentRequest) Reset()
func (*RoleAssignmentRequest) String ¶ added in v0.10.9
func (m *RoleAssignmentRequest) String() string
func (*RoleAssignmentRequest) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *RoleAssignmentRequest) XXX_DiscardUnknown()
func (*RoleAssignmentRequest) XXX_Marshal ¶ added in v0.10.9
func (m *RoleAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoleAssignmentRequest) XXX_Merge ¶ added in v0.10.9
func (m *RoleAssignmentRequest) XXX_Merge(src proto.Message)
func (*RoleAssignmentRequest) XXX_Size ¶ added in v0.10.9
func (m *RoleAssignmentRequest) XXX_Size() int
func (*RoleAssignmentRequest) XXX_Unmarshal ¶ added in v0.10.9
func (m *RoleAssignmentRequest) XXX_Unmarshal(b []byte) error
type RoleAssignmentResponse ¶ added in v0.10.9
type RoleAssignmentResponse struct { RoleAssignments []*RoleAssignment `protobuf:"bytes,1,rep,name=roleAssignments,proto3" json:"roleAssignments,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoleAssignmentResponse) Descriptor ¶ added in v0.10.9
func (*RoleAssignmentResponse) Descriptor() ([]byte, []int)
func (*RoleAssignmentResponse) GetError ¶ added in v0.10.9
func (m *RoleAssignmentResponse) GetError() string
func (*RoleAssignmentResponse) GetResult ¶ added in v0.10.9
func (m *RoleAssignmentResponse) GetResult() *wrappers.BoolValue
func (*RoleAssignmentResponse) GetRoleAssignments ¶ added in v0.10.9
func (m *RoleAssignmentResponse) GetRoleAssignments() []*RoleAssignment
func (*RoleAssignmentResponse) ProtoMessage ¶ added in v0.10.9
func (*RoleAssignmentResponse) ProtoMessage()
func (*RoleAssignmentResponse) Reset ¶ added in v0.10.9
func (m *RoleAssignmentResponse) Reset()
func (*RoleAssignmentResponse) String ¶ added in v0.10.9
func (m *RoleAssignmentResponse) String() string
func (*RoleAssignmentResponse) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *RoleAssignmentResponse) XXX_DiscardUnknown()
func (*RoleAssignmentResponse) XXX_Marshal ¶ added in v0.10.9
func (m *RoleAssignmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoleAssignmentResponse) XXX_Merge ¶ added in v0.10.9
func (m *RoleAssignmentResponse) XXX_Merge(src proto.Message)
func (*RoleAssignmentResponse) XXX_Size ¶ added in v0.10.9
func (m *RoleAssignmentResponse) XXX_Size() int
func (*RoleAssignmentResponse) XXX_Unmarshal ¶ added in v0.10.9
func (m *RoleAssignmentResponse) XXX_Unmarshal(b []byte) error
type RoleRequest ¶ added in v0.10.9
type RoleRequest struct { Roles []*Role `protobuf:"bytes,1,rep,name=Roles,proto3" json:"Roles,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoleRequest) Descriptor ¶ added in v0.10.9
func (*RoleRequest) Descriptor() ([]byte, []int)
func (*RoleRequest) GetOperationType ¶ added in v0.10.9
func (m *RoleRequest) GetOperationType() common.Operation
func (*RoleRequest) GetRoles ¶ added in v0.10.9
func (m *RoleRequest) GetRoles() []*Role
func (*RoleRequest) ProtoMessage ¶ added in v0.10.9
func (*RoleRequest) ProtoMessage()
func (*RoleRequest) Reset ¶ added in v0.10.9
func (m *RoleRequest) Reset()
func (*RoleRequest) String ¶ added in v0.10.9
func (m *RoleRequest) String() string
func (*RoleRequest) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *RoleRequest) XXX_DiscardUnknown()
func (*RoleRequest) XXX_Marshal ¶ added in v0.10.9
func (m *RoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoleRequest) XXX_Merge ¶ added in v0.10.9
func (m *RoleRequest) XXX_Merge(src proto.Message)
func (*RoleRequest) XXX_Size ¶ added in v0.10.9
func (m *RoleRequest) XXX_Size() int
func (*RoleRequest) XXX_Unmarshal ¶ added in v0.10.9
func (m *RoleRequest) XXX_Unmarshal(b []byte) error
type RoleResponse ¶ added in v0.10.9
type RoleResponse struct { Roles []*Role `protobuf:"bytes,1,rep,name=Roles,proto3" json:"Roles,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoleResponse) Descriptor ¶ added in v0.10.9
func (*RoleResponse) Descriptor() ([]byte, []int)
func (*RoleResponse) GetError ¶ added in v0.10.9
func (m *RoleResponse) GetError() string
func (*RoleResponse) GetResult ¶ added in v0.10.9
func (m *RoleResponse) GetResult() *wrappers.BoolValue
func (*RoleResponse) GetRoles ¶ added in v0.10.9
func (m *RoleResponse) GetRoles() []*Role
func (*RoleResponse) ProtoMessage ¶ added in v0.10.9
func (*RoleResponse) ProtoMessage()
func (*RoleResponse) Reset ¶ added in v0.10.9
func (m *RoleResponse) Reset()
func (*RoleResponse) String ¶ added in v0.10.9
func (m *RoleResponse) String() string
func (*RoleResponse) XXX_DiscardUnknown ¶ added in v0.10.9
func (m *RoleResponse) XXX_DiscardUnknown()
func (*RoleResponse) XXX_Marshal ¶ added in v0.10.9
func (m *RoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoleResponse) XXX_Merge ¶ added in v0.10.9
func (m *RoleResponse) XXX_Merge(src proto.Message)
func (*RoleResponse) XXX_Size ¶ added in v0.10.9
func (m *RoleResponse) XXX_Size() int
func (*RoleResponse) XXX_Unmarshal ¶ added in v0.10.9
func (m *RoleResponse) XXX_Unmarshal(b []byte) error
type Secret ¶
type Secret struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` VaultId string `protobuf:"bytes,5,opt,name=vaultId,proto3" json:"vaultId,omitempty"` VaultName string `protobuf:"bytes,6,opt,name=vaultName,proto3" json:"vaultName,omitempty"` GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` LocationName string `protobuf:"bytes,10,opt,name=locationName,proto3" json:"locationName,omitempty"` Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Secret) Descriptor ¶
func (*Secret) GetFilename ¶
func (*Secret) GetGroupName ¶
func (*Secret) GetLocationName ¶
func (*Secret) GetVaultId ¶
func (*Secret) GetVaultName ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) XXX_DiscardUnknown ¶
func (m *Secret) XXX_DiscardUnknown()
func (*Secret) XXX_Marshal ¶
func (*Secret) XXX_Unmarshal ¶
type SecretAgentClient ¶
type SecretAgentClient interface {
Invoke(ctx context.Context, in *SecretRequest, opts ...grpc.CallOption) (*SecretResponse, error)
}
SecretAgentClient is the client API for SecretAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSecretAgentClient ¶
func NewSecretAgentClient(cc *grpc.ClientConn) SecretAgentClient
type SecretAgentServer ¶
type SecretAgentServer interface {
Invoke(context.Context, *SecretRequest) (*SecretResponse, error)
}
SecretAgentServer is the server API for SecretAgent service.
type SecretRequest ¶
type SecretRequest struct { Secrets []*Secret `protobuf:"bytes,1,rep,name=Secrets,proto3" json:"Secrets,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SecretRequest) Descriptor ¶
func (*SecretRequest) Descriptor() ([]byte, []int)
func (*SecretRequest) GetOperationType ¶
func (m *SecretRequest) GetOperationType() common.Operation
func (*SecretRequest) GetSecrets ¶
func (m *SecretRequest) GetSecrets() []*Secret
func (*SecretRequest) ProtoMessage ¶
func (*SecretRequest) ProtoMessage()
func (*SecretRequest) Reset ¶
func (m *SecretRequest) Reset()
func (*SecretRequest) String ¶
func (m *SecretRequest) String() string
func (*SecretRequest) XXX_DiscardUnknown ¶
func (m *SecretRequest) XXX_DiscardUnknown()
func (*SecretRequest) XXX_Marshal ¶
func (m *SecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SecretRequest) XXX_Merge ¶
func (m *SecretRequest) XXX_Merge(src proto.Message)
func (*SecretRequest) XXX_Size ¶
func (m *SecretRequest) XXX_Size() int
func (*SecretRequest) XXX_Unmarshal ¶
func (m *SecretRequest) XXX_Unmarshal(b []byte) error
type SecretResponse ¶
type SecretResponse struct { Secrets []*Secret `protobuf:"bytes,1,rep,name=Secrets,proto3" json:"Secrets,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SecretResponse) Descriptor ¶
func (*SecretResponse) Descriptor() ([]byte, []int)
func (*SecretResponse) GetError ¶
func (m *SecretResponse) GetError() string
func (*SecretResponse) GetResult ¶
func (m *SecretResponse) GetResult() *wrappers.BoolValue
func (*SecretResponse) GetSecrets ¶
func (m *SecretResponse) GetSecrets() []*Secret
func (*SecretResponse) ProtoMessage ¶
func (*SecretResponse) ProtoMessage()
func (*SecretResponse) Reset ¶
func (m *SecretResponse) Reset()
func (*SecretResponse) String ¶
func (m *SecretResponse) String() string
func (*SecretResponse) XXX_DiscardUnknown ¶
func (m *SecretResponse) XXX_DiscardUnknown()
func (*SecretResponse) XXX_Marshal ¶
func (m *SecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SecretResponse) XXX_Merge ¶
func (m *SecretResponse) XXX_Merge(src proto.Message)
func (*SecretResponse) XXX_Size ¶
func (m *SecretResponse) XXX_Size() int
func (*SecretResponse) XXX_Unmarshal ¶
func (m *SecretResponse) XXX_Unmarshal(b []byte) error
type SignVerifyParams ¶ added in v0.10.24
type SignVerifyParams struct { Algorithm common.JSONWebKeySignatureAlgorithm `protobuf:"varint,1,opt,name=algorithm,proto3,enum=moc.JSONWebKeySignatureAlgorithm" json:"algorithm,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignVerifyParams) Descriptor ¶ added in v0.10.24
func (*SignVerifyParams) Descriptor() ([]byte, []int)
func (*SignVerifyParams) GetAlgorithm ¶ added in v0.10.24
func (m *SignVerifyParams) GetAlgorithm() common.JSONWebKeySignatureAlgorithm
func (*SignVerifyParams) GetSignature ¶ added in v0.10.24
func (m *SignVerifyParams) GetSignature() string
func (*SignVerifyParams) ProtoMessage ¶ added in v0.10.24
func (*SignVerifyParams) ProtoMessage()
func (*SignVerifyParams) Reset ¶ added in v0.10.24
func (m *SignVerifyParams) Reset()
func (*SignVerifyParams) String ¶ added in v0.10.24
func (m *SignVerifyParams) String() string
func (*SignVerifyParams) XXX_DiscardUnknown ¶ added in v0.10.24
func (m *SignVerifyParams) XXX_DiscardUnknown()
func (*SignVerifyParams) XXX_Marshal ¶ added in v0.10.24
func (m *SignVerifyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignVerifyParams) XXX_Merge ¶ added in v0.10.24
func (m *SignVerifyParams) XXX_Merge(src proto.Message)
func (*SignVerifyParams) XXX_Size ¶ added in v0.10.24
func (m *SignVerifyParams) XXX_Size() int
func (*SignVerifyParams) XXX_Unmarshal ¶ added in v0.10.24
func (m *SignVerifyParams) XXX_Unmarshal(b []byte) error
type UnimplementedAuthenticationAgentServer ¶
type UnimplementedAuthenticationAgentServer struct { }
UnimplementedAuthenticationAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthenticationAgentServer) Login ¶
func (*UnimplementedAuthenticationAgentServer) Login(ctx context.Context, req *AuthenticationRequest) (*AuthenticationResponse, error)
type UnimplementedCertificateAgentServer ¶
type UnimplementedCertificateAgentServer struct { }
UnimplementedCertificateAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedCertificateAgentServer) CreateOrUpdate ¶
func (*UnimplementedCertificateAgentServer) CreateOrUpdate(ctx context.Context, req *CertificateRequest) (*CertificateResponse, error)
func (*UnimplementedCertificateAgentServer) Delete ¶
func (*UnimplementedCertificateAgentServer) Delete(ctx context.Context, req *CertificateRequest) (*CertificateResponse, error)
func (*UnimplementedCertificateAgentServer) Get ¶
func (*UnimplementedCertificateAgentServer) Get(ctx context.Context, req *CertificateRequest) (*CertificateResponse, error)
func (*UnimplementedCertificateAgentServer) Precheck ¶ added in v0.19.3
func (*UnimplementedCertificateAgentServer) Precheck(ctx context.Context, req *CertificatePrecheckRequest) (*CertificatePrecheckResponse, error)
func (*UnimplementedCertificateAgentServer) Renew ¶ added in v0.10.7
func (*UnimplementedCertificateAgentServer) Renew(ctx context.Context, req *CSRRequest) (*CertificateResponse, error)
func (*UnimplementedCertificateAgentServer) Sign ¶ added in v0.10.7
func (*UnimplementedCertificateAgentServer) Sign(ctx context.Context, req *CSRRequest) (*CertificateResponse, error)
type UnimplementedIdentityAgentServer ¶
type UnimplementedIdentityAgentServer struct { }
UnimplementedIdentityAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedIdentityAgentServer) Invoke ¶
func (*UnimplementedIdentityAgentServer) Invoke(ctx context.Context, req *IdentityRequest) (*IdentityResponse, error)
func (*UnimplementedIdentityAgentServer) Operate ¶ added in v0.10.8
func (*UnimplementedIdentityAgentServer) Operate(ctx context.Context, req *IdentityOperationRequest) (*IdentityResponse, error)
func (*UnimplementedIdentityAgentServer) OperateCertificates ¶ added in v0.10.8
func (*UnimplementedIdentityAgentServer) OperateCertificates(ctx context.Context, req *IdentityCertificateRequest) (*IdentityCertificateResponse, error)
func (*UnimplementedIdentityAgentServer) Precheck ¶ added in v0.19.3
func (*UnimplementedIdentityAgentServer) Precheck(ctx context.Context, req *IdentityPrecheckRequest) (*IdentityPrecheckResponse, error)
type UnimplementedKeyAgentServer ¶
type UnimplementedKeyAgentServer struct { }
UnimplementedKeyAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeyAgentServer) Invoke ¶
func (*UnimplementedKeyAgentServer) Invoke(ctx context.Context, req *KeyRequest) (*KeyResponse, error)
func (*UnimplementedKeyAgentServer) Operate ¶
func (*UnimplementedKeyAgentServer) Operate(ctx context.Context, req *KeyOperationRequest) (*KeyOperationResponse, error)
type UnimplementedKeyVaultAgentServer ¶
type UnimplementedKeyVaultAgentServer struct { }
UnimplementedKeyVaultAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeyVaultAgentServer) Invoke ¶
func (*UnimplementedKeyVaultAgentServer) Invoke(ctx context.Context, req *KeyVaultRequest) (*KeyVaultResponse, error)
type UnimplementedRoleAgentServer ¶ added in v0.10.9
type UnimplementedRoleAgentServer struct { }
UnimplementedRoleAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedRoleAgentServer) Invoke ¶ added in v0.10.9
func (*UnimplementedRoleAgentServer) Invoke(ctx context.Context, req *RoleRequest) (*RoleResponse, error)
type UnimplementedRoleAssignmentAgentServer ¶ added in v0.10.9
type UnimplementedRoleAssignmentAgentServer struct { }
UnimplementedRoleAssignmentAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedRoleAssignmentAgentServer) Invoke ¶ added in v0.10.9
func (*UnimplementedRoleAssignmentAgentServer) Invoke(ctx context.Context, req *RoleAssignmentRequest) (*RoleAssignmentResponse, error)
type UnimplementedSecretAgentServer ¶
type UnimplementedSecretAgentServer struct { }
UnimplementedSecretAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedSecretAgentServer) Invoke ¶
func (*UnimplementedSecretAgentServer) Invoke(ctx context.Context, req *SecretRequest) (*SecretResponse, error)