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 RegisterKeyVaultAgentServer(s *grpc.Server, srv KeyVaultAgentServer)
- func RegisterSecretAgentServer(s *grpc.Server, srv SecretAgentServer)
- 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 Certificate
- func (*Certificate) Descriptor() ([]byte, []int)
- func (m *Certificate) GetCertificate() string
- func (m *Certificate) GetEntity() *common.Entity
- func (m *Certificate) GetId() 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 (*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 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 CertificateType
- type Identity
- func (*Identity) Descriptor() ([]byte, []int)
- func (m *Identity) GetCertificate() string
- func (m *Identity) GetClientType() common.ClientType
- func (m *Identity) GetEntity() *common.Entity
- func (m *Identity) GetId() string
- func (m *Identity) GetName() string
- func (m *Identity) GetPassword() string
- func (m *Identity) GetResourceGroup() string
- func (m *Identity) GetStatus() *common.Status
- func (m *Identity) GetTags() *common.Tags
- func (m *Identity) GetToken() string
- func (m *Identity) GetTokenExpiry() 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 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 KeyVault
- func (*KeyVault) Descriptor() ([]byte, []int)
- func (m *KeyVault) GetEntity() *common.Entity
- func (m *KeyVault) GetGroupName() string
- func (m *KeyVault) GetId() 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 Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (m *Secret) GetEntity() *common.Entity
- func (m *Secret) GetFilename() string
- func (m *Secret) GetGroupName() string
- func (m *Secret) GetId() 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 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)
- type UnimplementedIdentityAgentServer
- type UnimplementedKeyVaultAgentServer
- type UnimplementedSecretAgentServer
Constants ¶
This section is empty.
Variables ¶
var CertificateType_name = map[int32]string{
0: "Client",
1: "Server",
}
var CertificateType_value = map[string]int32{
"Client": 0,
"Server": 1,
}
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 RegisterKeyVaultAgentServer ¶
func RegisterKeyVaultAgentServer(s *grpc.Server, srv KeyVaultAgentServer)
func RegisterSecretAgentServer ¶
func RegisterSecretAgentServer(s *grpc.Server, srv SecretAgentServer)
Types ¶
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 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.nodeagent.security.CertificateType" json:"type,omitempty"` Entity *common.Entity `protobuf:"bytes,8,opt,name=entity,proto3" json:"entity,omitempty"` Tags *common.Tags `protobuf:"bytes,9,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) GetEntity ¶
func (m *Certificate) GetEntity() *common.Entity
func (*Certificate) GetId ¶
func (m *Certificate) GetId() 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) 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) }
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) }
CertificateAgentServer is the server API for CertificateAgent service.
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 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 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"` Certificate string `protobuf:"bytes,6,opt,name=certificate,proto3" json:"certificate,omitempty"` Status *common.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` Entity *common.Entity `protobuf:"bytes,8,opt,name=entity,proto3" json:"entity,omitempty"` Tags *common.Tags `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty"` TokenExpiry int64 `protobuf:"varint,13,opt,name=tokenExpiry,proto3" json:"tokenExpiry,omitempty"` ClientType common.ClientType `protobuf:"varint,14,opt,name=clientType,proto3,enum=moc.ClientType" json:"clientType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Identity) Descriptor ¶
func (*Identity) GetCertificate ¶
func (*Identity) GetClientType ¶ added in v0.10.7
func (m *Identity) GetClientType() common.ClientType
func (*Identity) GetPassword ¶
func (*Identity) GetResourceGroup ¶
func (*Identity) GetTokenExpiry ¶ added in v0.10.7
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)
}
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)
}
IdentityAgentServer is the server API for IdentityAgent service.
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 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"` Entity *common.Entity `protobuf:"bytes,6,opt,name=entity,proto3" json:"entity,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 (*KeyVault) Descriptor ¶
func (*KeyVault) GetGroupName ¶
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 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"` Entity *common.Entity `protobuf:"bytes,9,opt,name=entity,proto3" json:"entity,omitempty"` Tags *common.Tags `protobuf:"bytes,10,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) 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 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)
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)
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 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)