v1

package
v0.0.0-...-187538d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1 api version 1.

Index

Constants

View Source
const (
	V1AAPService_CreateAccount_FullMethodName    = "/accountadministrationpoint.V1AAPService/CreateAccount"
	V1AAPService_UpdateAccount_FullMethodName    = "/accountadministrationpoint.V1AAPService/UpdateAccount"
	V1AAPService_DeleteAccount_FullMethodName    = "/accountadministrationpoint.V1AAPService/DeleteAccount"
	V1AAPService_GetAllAccounts_FullMethodName   = "/accountadministrationpoint.V1AAPService/GetAllAccounts"
	V1AAPService_CreateTenant_FullMethodName     = "/accountadministrationpoint.V1AAPService/CreateTenant"
	V1AAPService_UpdateTenant_FullMethodName     = "/accountadministrationpoint.V1AAPService/UpdateTenant"
	V1AAPService_DeleteTenant_FullMethodName     = "/accountadministrationpoint.V1AAPService/DeleteTenant"
	V1AAPService_GetAllTenants_FullMethodName    = "/accountadministrationpoint.V1AAPService/GetAllTenants"
	V1AAPService_CreateIdentity_FullMethodName   = "/accountadministrationpoint.V1AAPService/CreateIdentity"
	V1AAPService_UpdateIdentity_FullMethodName   = "/accountadministrationpoint.V1AAPService/UpdateIdentity"
	V1AAPService_DeleteIdentity_FullMethodName   = "/accountadministrationpoint.V1AAPService/DeleteIdentity"
	V1AAPService_GetAllIdentities_FullMethodName = "/accountadministrationpoint.V1AAPService/GetAllIdentities"
	V1AAPService_CreateProject_FullMethodName    = "/accountadministrationpoint.V1AAPService/CreateProject"
	V1AAPService_UpdateProject_FullMethodName    = "/accountadministrationpoint.V1AAPService/UpdateProject"
	V1AAPService_DeleteProject_FullMethodName    = "/accountadministrationpoint.V1AAPService/DeleteProject"
	V1AAPService_GetAllProjects_FullMethodName   = "/accountadministrationpoint.V1AAPService/GetAllProjects"
	V1AAPService_CreateDomain_FullMethodName     = "/accountadministrationpoint.V1AAPService/CreateDomain"
	V1AAPService_UpdateDomain_FullMethodName     = "/accountadministrationpoint.V1AAPService/UpdateDomain"
	V1AAPService_DeleteDomain_FullMethodName     = "/accountadministrationpoint.V1AAPService/DeleteDomain"
	V1AAPService_GetAllDomains_FullMethodName    = "/accountadministrationpoint.V1AAPService/GetAllDomains"
	V1AAPService_CreateResource_FullMethodName   = "/accountadministrationpoint.V1AAPService/CreateResource"
	V1AAPService_UpdateResource_FullMethodName   = "/accountadministrationpoint.V1AAPService/UpdateResource"
	V1AAPService_DeleteResource_FullMethodName   = "/accountadministrationpoint.V1AAPService/DeleteResource"
	V1AAPService_GetAllResources_FullMethodName  = "/accountadministrationpoint.V1AAPService/GetAllResources"
	V1AAPService_CreateAction_FullMethodName     = "/accountadministrationpoint.V1AAPService/CreateAction"
	V1AAPService_UpdateAction_FullMethodName     = "/accountadministrationpoint.V1AAPService/UpdateAction"
	V1AAPService_DeleteAction_FullMethodName     = "/accountadministrationpoint.V1AAPService/DeleteAction"
	V1AAPService_GetAllActions_FullMethodName    = "/accountadministrationpoint.V1AAPService/GetAllActions"
)

Variables

View Source
var File_internal_agents_services_aap_endpoints_api_v1_aap_proto protoreflect.FileDescriptor
View Source
var V1AAPService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "accountadministrationpoint.V1AAPService",
	HandlerType: (*V1AAPServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAccount",
			Handler:    _V1AAPService_CreateAccount_Handler,
		},
		{
			MethodName: "UpdateAccount",
			Handler:    _V1AAPService_UpdateAccount_Handler,
		},
		{
			MethodName: "DeleteAccount",
			Handler:    _V1AAPService_DeleteAccount_Handler,
		},
		{
			MethodName: "GetAllAccounts",
			Handler:    _V1AAPService_GetAllAccounts_Handler,
		},
		{
			MethodName: "CreateTenant",
			Handler:    _V1AAPService_CreateTenant_Handler,
		},
		{
			MethodName: "UpdateTenant",
			Handler:    _V1AAPService_UpdateTenant_Handler,
		},
		{
			MethodName: "DeleteTenant",
			Handler:    _V1AAPService_DeleteTenant_Handler,
		},
		{
			MethodName: "GetAllTenants",
			Handler:    _V1AAPService_GetAllTenants_Handler,
		},
		{
			MethodName: "CreateIdentity",
			Handler:    _V1AAPService_CreateIdentity_Handler,
		},
		{
			MethodName: "UpdateIdentity",
			Handler:    _V1AAPService_UpdateIdentity_Handler,
		},
		{
			MethodName: "DeleteIdentity",
			Handler:    _V1AAPService_DeleteIdentity_Handler,
		},
		{
			MethodName: "GetAllIdentities",
			Handler:    _V1AAPService_GetAllIdentities_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _V1AAPService_CreateProject_Handler,
		},
		{
			MethodName: "UpdateProject",
			Handler:    _V1AAPService_UpdateProject_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _V1AAPService_DeleteProject_Handler,
		},
		{
			MethodName: "GetAllProjects",
			Handler:    _V1AAPService_GetAllProjects_Handler,
		},
		{
			MethodName: "CreateDomain",
			Handler:    _V1AAPService_CreateDomain_Handler,
		},
		{
			MethodName: "UpdateDomain",
			Handler:    _V1AAPService_UpdateDomain_Handler,
		},
		{
			MethodName: "DeleteDomain",
			Handler:    _V1AAPService_DeleteDomain_Handler,
		},
		{
			MethodName: "GetAllDomains",
			Handler:    _V1AAPService_GetAllDomains_Handler,
		},
		{
			MethodName: "CreateResource",
			Handler:    _V1AAPService_CreateResource_Handler,
		},
		{
			MethodName: "UpdateResource",
			Handler:    _V1AAPService_UpdateResource_Handler,
		},
		{
			MethodName: "DeleteResource",
			Handler:    _V1AAPService_DeleteResource_Handler,
		},
		{
			MethodName: "GetAllResources",
			Handler:    _V1AAPService_GetAllResources_Handler,
		},
		{
			MethodName: "CreateAction",
			Handler:    _V1AAPService_CreateAction_Handler,
		},
		{
			MethodName: "UpdateAction",
			Handler:    _V1AAPService_UpdateAction_Handler,
		},
		{
			MethodName: "DeleteAction",
			Handler:    _V1AAPService_DeleteAction_Handler,
		},
		{
			MethodName: "GetAllActions",
			Handler:    _V1AAPService_GetAllActions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "internal/agents/services/aap/endpoints/api/v1/aap.proto",
}

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

Functions

func MapGrpcAccountToAgentAccount

func MapGrpcAccountToAgentAccount(account *AccountResponse) (*azmodels.Account, error)

MapGrpcAccountToAgentAccount maps the gRPC account to the agent account.

func RegisterV1AAPServiceServer

func RegisterV1AAPServiceServer(s grpc.ServiceRegistrar, srv V1AAPServiceServer)

Types

type AAPService

type AAPService interface {
	Setup() error
	GetAllAccounts() ([]azmodels.Account, error)
	CreateAccount(email string) (*azmodels.Account, error)
	DeleteAccount(accountID int64) (*azmodels.Account, error)
}

AAPService is the service for the AAP.

type AccountCreateRequest

type AccountCreateRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Account create request

func (*AccountCreateRequest) Descriptor deprecated

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

Deprecated: Use AccountCreateRequest.ProtoReflect.Descriptor instead.

func (*AccountCreateRequest) GetEmail

func (x *AccountCreateRequest) GetEmail() string

func (*AccountCreateRequest) ProtoMessage

func (*AccountCreateRequest) ProtoMessage()

func (*AccountCreateRequest) ProtoReflect

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

func (*AccountCreateRequest) Reset

func (x *AccountCreateRequest) Reset()

func (*AccountCreateRequest) String

func (x *AccountCreateRequest) String() string

type AccountDeleteRequest

type AccountDeleteRequest struct {
	AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

Account delete request

func (*AccountDeleteRequest) Descriptor deprecated

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

Deprecated: Use AccountDeleteRequest.ProtoReflect.Descriptor instead.

func (*AccountDeleteRequest) GetAccountId

func (x *AccountDeleteRequest) GetAccountId() int64

func (*AccountDeleteRequest) ProtoMessage

func (*AccountDeleteRequest) ProtoMessage()

func (*AccountDeleteRequest) ProtoReflect

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

func (*AccountDeleteRequest) Reset

func (x *AccountDeleteRequest) Reset()

func (*AccountDeleteRequest) String

func (x *AccountDeleteRequest) String() string

type AccountListResponse

type AccountListResponse struct {
	Accounts []*AccountResponse `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

AccountList is a list of accounts

func (*AccountListResponse) Descriptor deprecated

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

Deprecated: Use AccountListResponse.ProtoReflect.Descriptor instead.

func (*AccountListResponse) GetAccounts

func (x *AccountListResponse) GetAccounts() []*AccountResponse

func (*AccountListResponse) ProtoMessage

func (*AccountListResponse) ProtoMessage()

func (*AccountListResponse) ProtoReflect

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

func (*AccountListResponse) Reset

func (x *AccountListResponse) Reset()

func (*AccountListResponse) String

func (x *AccountListResponse) String() string

type AccountResponse

type AccountResponse struct {
	AccountId int64                  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Email     string                 `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Account response

func MapAgentAccountToGrpcAccount

func MapAgentAccountToGrpcAccount(account *azmodels.Account) (*AccountResponse, error)

MapAgentAccountToGrpcAccount maps the agent account to the gRPC account.

func (*AccountResponse) Descriptor deprecated

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

Deprecated: Use AccountResponse.ProtoReflect.Descriptor instead.

func (*AccountResponse) GetAccountId

func (x *AccountResponse) GetAccountId() int64

func (*AccountResponse) GetCreatedAt

func (x *AccountResponse) GetCreatedAt() *timestamppb.Timestamp

func (*AccountResponse) GetEmail

func (x *AccountResponse) GetEmail() string

func (*AccountResponse) GetUpdatedAt

func (x *AccountResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*AccountResponse) ProtoMessage

func (*AccountResponse) ProtoMessage()

func (*AccountResponse) ProtoReflect

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

func (*AccountResponse) Reset

func (x *AccountResponse) Reset()

func (*AccountResponse) String

func (x *AccountResponse) String() string

type AccountUpdateRequest

type AccountUpdateRequest struct {
	AccountId int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Email     string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Account update request

func (*AccountUpdateRequest) Descriptor deprecated

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

Deprecated: Use AccountUpdateRequest.ProtoReflect.Descriptor instead.

func (*AccountUpdateRequest) GetAccountId

func (x *AccountUpdateRequest) GetAccountId() int64

func (*AccountUpdateRequest) GetEmail

func (x *AccountUpdateRequest) GetEmail() string

func (*AccountUpdateRequest) ProtoMessage

func (*AccountUpdateRequest) ProtoMessage()

func (*AccountUpdateRequest) ProtoReflect

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

func (*AccountUpdateRequest) Reset

func (x *AccountUpdateRequest) Reset()

func (*AccountUpdateRequest) String

func (x *AccountUpdateRequest) String() string

type ActionCreateRequest

type ActionCreateRequest struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Action create request

func (*ActionCreateRequest) Descriptor deprecated

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

Deprecated: Use ActionCreateRequest.ProtoReflect.Descriptor instead.

func (*ActionCreateRequest) GetName

func (x *ActionCreateRequest) GetName() string

func (*ActionCreateRequest) GetResourceId

func (x *ActionCreateRequest) GetResourceId() string

func (*ActionCreateRequest) ProtoMessage

func (*ActionCreateRequest) ProtoMessage()

func (*ActionCreateRequest) ProtoReflect

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

func (*ActionCreateRequest) Reset

func (x *ActionCreateRequest) Reset()

func (*ActionCreateRequest) String

func (x *ActionCreateRequest) String() string

type ActionDeleteRequest

type ActionDeleteRequest struct {
	ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// contains filtered or unexported fields
}

Action delete request

func (*ActionDeleteRequest) Descriptor deprecated

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

Deprecated: Use ActionDeleteRequest.ProtoReflect.Descriptor instead.

func (*ActionDeleteRequest) GetActionId

func (x *ActionDeleteRequest) GetActionId() string

func (*ActionDeleteRequest) ProtoMessage

func (*ActionDeleteRequest) ProtoMessage()

func (*ActionDeleteRequest) ProtoReflect

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

func (*ActionDeleteRequest) Reset

func (x *ActionDeleteRequest) Reset()

func (*ActionDeleteRequest) String

func (x *ActionDeleteRequest) String() string

type ActionListResponse

type ActionListResponse struct {
	Actions []*ActionResponse `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

ActionList is a list of actions

func (*ActionListResponse) Descriptor deprecated

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

Deprecated: Use ActionListResponse.ProtoReflect.Descriptor instead.

func (*ActionListResponse) GetActions

func (x *ActionListResponse) GetActions() []*ActionResponse

func (*ActionListResponse) ProtoMessage

func (*ActionListResponse) ProtoMessage()

func (*ActionListResponse) ProtoReflect

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

func (*ActionListResponse) Reset

func (x *ActionListResponse) Reset()

func (*ActionListResponse) String

func (x *ActionListResponse) String() string

type ActionResponse

type ActionResponse struct {
	ActionId   string                 `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	AccountId  int64                  `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	ResourceId string                 `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Name       string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Action response

func (*ActionResponse) Descriptor deprecated

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

Deprecated: Use ActionResponse.ProtoReflect.Descriptor instead.

func (*ActionResponse) GetAccountId

func (x *ActionResponse) GetAccountId() int64

func (*ActionResponse) GetActionId

func (x *ActionResponse) GetActionId() string

func (*ActionResponse) GetCreatedAt

func (x *ActionResponse) GetCreatedAt() *timestamppb.Timestamp

func (*ActionResponse) GetName

func (x *ActionResponse) GetName() string

func (*ActionResponse) GetResourceId

func (x *ActionResponse) GetResourceId() string

func (*ActionResponse) GetUpdatedAt

func (x *ActionResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*ActionResponse) ProtoMessage

func (*ActionResponse) ProtoMessage()

func (*ActionResponse) ProtoReflect

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

func (*ActionResponse) Reset

func (x *ActionResponse) Reset()

func (*ActionResponse) String

func (x *ActionResponse) String() string

type ActionUpdateRequest

type ActionUpdateRequest struct {
	ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Action update request

func (*ActionUpdateRequest) Descriptor deprecated

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

Deprecated: Use ActionUpdateRequest.ProtoReflect.Descriptor instead.

func (*ActionUpdateRequest) GetActionId

func (x *ActionUpdateRequest) GetActionId() string

func (*ActionUpdateRequest) GetName

func (x *ActionUpdateRequest) GetName() string

func (*ActionUpdateRequest) ProtoMessage

func (*ActionUpdateRequest) ProtoMessage()

func (*ActionUpdateRequest) ProtoReflect

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

func (*ActionUpdateRequest) Reset

func (x *ActionUpdateRequest) Reset()

func (*ActionUpdateRequest) String

func (x *ActionUpdateRequest) String() string

type DomainCreateRequest

type DomainCreateRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Domain create request

func (*DomainCreateRequest) Descriptor deprecated

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

Deprecated: Use DomainCreateRequest.ProtoReflect.Descriptor instead.

func (*DomainCreateRequest) GetName

func (x *DomainCreateRequest) GetName() string

func (*DomainCreateRequest) GetProjectId

func (x *DomainCreateRequest) GetProjectId() string

func (*DomainCreateRequest) ProtoMessage

func (*DomainCreateRequest) ProtoMessage()

func (*DomainCreateRequest) ProtoReflect

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

func (*DomainCreateRequest) Reset

func (x *DomainCreateRequest) Reset()

func (*DomainCreateRequest) String

func (x *DomainCreateRequest) String() string

type DomainDeleteRequest

type DomainDeleteRequest struct {
	DomainId string `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	// contains filtered or unexported fields
}

Domain delete request

func (*DomainDeleteRequest) Descriptor deprecated

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

Deprecated: Use DomainDeleteRequest.ProtoReflect.Descriptor instead.

func (*DomainDeleteRequest) GetDomainId

func (x *DomainDeleteRequest) GetDomainId() string

func (*DomainDeleteRequest) ProtoMessage

func (*DomainDeleteRequest) ProtoMessage()

func (*DomainDeleteRequest) ProtoReflect

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

func (*DomainDeleteRequest) Reset

func (x *DomainDeleteRequest) Reset()

func (*DomainDeleteRequest) String

func (x *DomainDeleteRequest) String() string

type DomainListResponse

type DomainListResponse struct {
	Domains []*DomainResponse `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

DomainList is a list of domains

func (*DomainListResponse) Descriptor deprecated

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

Deprecated: Use DomainListResponse.ProtoReflect.Descriptor instead.

func (*DomainListResponse) GetDomains

func (x *DomainListResponse) GetDomains() []*DomainResponse

func (*DomainListResponse) ProtoMessage

func (*DomainListResponse) ProtoMessage()

func (*DomainListResponse) ProtoReflect

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

func (*DomainListResponse) Reset

func (x *DomainListResponse) Reset()

func (*DomainListResponse) String

func (x *DomainListResponse) String() string

type DomainResponse

type DomainResponse struct {
	DomainId  string                 `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	AccountId int64                  `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	ProjectId string                 `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Name      string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Domain response

func (*DomainResponse) Descriptor deprecated

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

Deprecated: Use DomainResponse.ProtoReflect.Descriptor instead.

func (*DomainResponse) GetAccountId

func (x *DomainResponse) GetAccountId() int64

func (*DomainResponse) GetCreatedAt

func (x *DomainResponse) GetCreatedAt() *timestamppb.Timestamp

func (*DomainResponse) GetDomainId

func (x *DomainResponse) GetDomainId() string

func (*DomainResponse) GetName

func (x *DomainResponse) GetName() string

func (*DomainResponse) GetProjectId

func (x *DomainResponse) GetProjectId() string

func (*DomainResponse) GetUpdatedAt

func (x *DomainResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*DomainResponse) ProtoMessage

func (*DomainResponse) ProtoMessage()

func (*DomainResponse) ProtoReflect

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

func (*DomainResponse) Reset

func (x *DomainResponse) Reset()

func (*DomainResponse) String

func (x *DomainResponse) String() string

type DomainUpdateRequest

type DomainUpdateRequest struct {
	DomainId string `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Domain update request

func (*DomainUpdateRequest) Descriptor deprecated

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

Deprecated: Use DomainUpdateRequest.ProtoReflect.Descriptor instead.

func (*DomainUpdateRequest) GetDomainId

func (x *DomainUpdateRequest) GetDomainId() string

func (*DomainUpdateRequest) GetName

func (x *DomainUpdateRequest) GetName() string

func (*DomainUpdateRequest) ProtoMessage

func (*DomainUpdateRequest) ProtoMessage()

func (*DomainUpdateRequest) ProtoReflect

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

func (*DomainUpdateRequest) Reset

func (x *DomainUpdateRequest) Reset()

func (*DomainUpdateRequest) String

func (x *DomainUpdateRequest) String() string

type IdentityCreateRequest

type IdentityCreateRequest struct {
	TenantyId int64  `protobuf:"varint,1,opt,name=tenanty_id,json=tenantyId,proto3" json:"tenanty_id,omitempty"`
	Kind      string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Identity create request

func (*IdentityCreateRequest) Descriptor deprecated

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

Deprecated: Use IdentityCreateRequest.ProtoReflect.Descriptor instead.

func (*IdentityCreateRequest) GetKind

func (x *IdentityCreateRequest) GetKind() string

func (*IdentityCreateRequest) GetName

func (x *IdentityCreateRequest) GetName() string

func (*IdentityCreateRequest) GetTenantyId

func (x *IdentityCreateRequest) GetTenantyId() int64

func (*IdentityCreateRequest) ProtoMessage

func (*IdentityCreateRequest) ProtoMessage()

func (*IdentityCreateRequest) ProtoReflect

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

func (*IdentityCreateRequest) Reset

func (x *IdentityCreateRequest) Reset()

func (*IdentityCreateRequest) String

func (x *IdentityCreateRequest) String() string

type IdentityDeleteRequest

type IdentityDeleteRequest struct {
	IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"`
	// contains filtered or unexported fields
}

Identity delete request

func (*IdentityDeleteRequest) Descriptor deprecated

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

Deprecated: Use IdentityDeleteRequest.ProtoReflect.Descriptor instead.

func (*IdentityDeleteRequest) GetIdentityId

func (x *IdentityDeleteRequest) GetIdentityId() string

func (*IdentityDeleteRequest) ProtoMessage

func (*IdentityDeleteRequest) ProtoMessage()

func (*IdentityDeleteRequest) ProtoReflect

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

func (*IdentityDeleteRequest) Reset

func (x *IdentityDeleteRequest) Reset()

func (*IdentityDeleteRequest) String

func (x *IdentityDeleteRequest) String() string

type IdentityListResponse

type IdentityListResponse struct {
	Identities []*IdentityResponse `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
	// contains filtered or unexported fields
}

IdentityList is a list of identities

func (*IdentityListResponse) Descriptor deprecated

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

Deprecated: Use IdentityListResponse.ProtoReflect.Descriptor instead.

func (*IdentityListResponse) GetIdentities

func (x *IdentityListResponse) GetIdentities() []*IdentityResponse

func (*IdentityListResponse) ProtoMessage

func (*IdentityListResponse) ProtoMessage()

func (*IdentityListResponse) ProtoReflect

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

func (*IdentityListResponse) Reset

func (x *IdentityListResponse) Reset()

func (*IdentityListResponse) String

func (x *IdentityListResponse) String() string

type IdentityResponse

type IdentityResponse struct {
	IdentityId string                 `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"`
	AccountId  int64                  `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	TenantyId  int64                  `protobuf:"varint,3,opt,name=tenanty_id,json=tenantyId,proto3" json:"tenanty_id,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Kind       string                 `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"`
	Name       string                 `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Identity response

func (*IdentityResponse) Descriptor deprecated

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

Deprecated: Use IdentityResponse.ProtoReflect.Descriptor instead.

func (*IdentityResponse) GetAccountId

func (x *IdentityResponse) GetAccountId() int64

func (*IdentityResponse) GetCreatedAt

func (x *IdentityResponse) GetCreatedAt() *timestamppb.Timestamp

func (*IdentityResponse) GetIdentityId

func (x *IdentityResponse) GetIdentityId() string

func (*IdentityResponse) GetKind

func (x *IdentityResponse) GetKind() string

func (*IdentityResponse) GetName

func (x *IdentityResponse) GetName() string

func (*IdentityResponse) GetTenantyId

func (x *IdentityResponse) GetTenantyId() int64

func (*IdentityResponse) GetUpdatedAt

func (x *IdentityResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*IdentityResponse) ProtoMessage

func (*IdentityResponse) ProtoMessage()

func (*IdentityResponse) ProtoReflect

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

func (*IdentityResponse) Reset

func (x *IdentityResponse) Reset()

func (*IdentityResponse) String

func (x *IdentityResponse) String() string

type IdentityUpdateRequest

type IdentityUpdateRequest struct {
	IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"`
	Kind       string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Identity update request

func (*IdentityUpdateRequest) Descriptor deprecated

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

Deprecated: Use IdentityUpdateRequest.ProtoReflect.Descriptor instead.

func (*IdentityUpdateRequest) GetIdentityId

func (x *IdentityUpdateRequest) GetIdentityId() string

func (*IdentityUpdateRequest) GetKind

func (x *IdentityUpdateRequest) GetKind() string

func (*IdentityUpdateRequest) GetName

func (x *IdentityUpdateRequest) GetName() string

func (*IdentityUpdateRequest) ProtoMessage

func (*IdentityUpdateRequest) ProtoMessage()

func (*IdentityUpdateRequest) ProtoReflect

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

func (*IdentityUpdateRequest) Reset

func (x *IdentityUpdateRequest) Reset()

func (*IdentityUpdateRequest) String

func (x *IdentityUpdateRequest) String() string

type ProjectCreateRequest

type ProjectCreateRequest struct {
	AccountId int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Project create request

func (*ProjectCreateRequest) Descriptor deprecated

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

Deprecated: Use ProjectCreateRequest.ProtoReflect.Descriptor instead.

func (*ProjectCreateRequest) GetAccountId

func (x *ProjectCreateRequest) GetAccountId() int64

func (*ProjectCreateRequest) GetName

func (x *ProjectCreateRequest) GetName() string

func (*ProjectCreateRequest) ProtoMessage

func (*ProjectCreateRequest) ProtoMessage()

func (*ProjectCreateRequest) ProtoReflect

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

func (*ProjectCreateRequest) Reset

func (x *ProjectCreateRequest) Reset()

func (*ProjectCreateRequest) String

func (x *ProjectCreateRequest) String() string

type ProjectDeleteRequest

type ProjectDeleteRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Project delete request

func (*ProjectDeleteRequest) Descriptor deprecated

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

Deprecated: Use ProjectDeleteRequest.ProtoReflect.Descriptor instead.

func (*ProjectDeleteRequest) GetProjectId

func (x *ProjectDeleteRequest) GetProjectId() string

func (*ProjectDeleteRequest) ProtoMessage

func (*ProjectDeleteRequest) ProtoMessage()

func (*ProjectDeleteRequest) ProtoReflect

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

func (*ProjectDeleteRequest) Reset

func (x *ProjectDeleteRequest) Reset()

func (*ProjectDeleteRequest) String

func (x *ProjectDeleteRequest) String() string

type ProjectListResponse

type ProjectListResponse struct {
	Projects []*ProjectResponse `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

ProjectList is a list of projects

func (*ProjectListResponse) Descriptor deprecated

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

Deprecated: Use ProjectListResponse.ProtoReflect.Descriptor instead.

func (*ProjectListResponse) GetProjects

func (x *ProjectListResponse) GetProjects() []*ProjectResponse

func (*ProjectListResponse) ProtoMessage

func (*ProjectListResponse) ProtoMessage()

func (*ProjectListResponse) ProtoReflect

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

func (*ProjectListResponse) Reset

func (x *ProjectListResponse) Reset()

func (*ProjectListResponse) String

func (x *ProjectListResponse) String() string

type ProjectResponse

type ProjectResponse struct {
	ProjectId string                 `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	AccountId int64                  `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Name      string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Project response

func (*ProjectResponse) Descriptor deprecated

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

Deprecated: Use ProjectResponse.ProtoReflect.Descriptor instead.

func (*ProjectResponse) GetAccountId

func (x *ProjectResponse) GetAccountId() int64

func (*ProjectResponse) GetCreatedAt

func (x *ProjectResponse) GetCreatedAt() *timestamppb.Timestamp

func (*ProjectResponse) GetName

func (x *ProjectResponse) GetName() string

func (*ProjectResponse) GetProjectId

func (x *ProjectResponse) GetProjectId() string

func (*ProjectResponse) GetUpdatedAt

func (x *ProjectResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*ProjectResponse) ProtoMessage

func (*ProjectResponse) ProtoMessage()

func (*ProjectResponse) ProtoReflect

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

func (*ProjectResponse) Reset

func (x *ProjectResponse) Reset()

func (*ProjectResponse) String

func (x *ProjectResponse) String() string

type ProjectUpdateRequest

type ProjectUpdateRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Project update request

func (*ProjectUpdateRequest) Descriptor deprecated

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

Deprecated: Use ProjectUpdateRequest.ProtoReflect.Descriptor instead.

func (*ProjectUpdateRequest) GetName

func (x *ProjectUpdateRequest) GetName() string

func (*ProjectUpdateRequest) GetProjectId

func (x *ProjectUpdateRequest) GetProjectId() string

func (*ProjectUpdateRequest) ProtoMessage

func (*ProjectUpdateRequest) ProtoMessage()

func (*ProjectUpdateRequest) ProtoReflect

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

func (*ProjectUpdateRequest) Reset

func (x *ProjectUpdateRequest) Reset()

func (*ProjectUpdateRequest) String

func (x *ProjectUpdateRequest) String() string

type ResourceCreateRequest

type ResourceCreateRequest struct {
	DomainId string `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Resource create request

func (*ResourceCreateRequest) Descriptor deprecated

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

Deprecated: Use ResourceCreateRequest.ProtoReflect.Descriptor instead.

func (*ResourceCreateRequest) GetDomainId

func (x *ResourceCreateRequest) GetDomainId() string

func (*ResourceCreateRequest) GetName

func (x *ResourceCreateRequest) GetName() string

func (*ResourceCreateRequest) ProtoMessage

func (*ResourceCreateRequest) ProtoMessage()

func (*ResourceCreateRequest) ProtoReflect

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

func (*ResourceCreateRequest) Reset

func (x *ResourceCreateRequest) Reset()

func (*ResourceCreateRequest) String

func (x *ResourceCreateRequest) String() string

type ResourceDeleteRequest

type ResourceDeleteRequest struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

Resource delete request

func (*ResourceDeleteRequest) Descriptor deprecated

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

Deprecated: Use ResourceDeleteRequest.ProtoReflect.Descriptor instead.

func (*ResourceDeleteRequest) GetResourceId

func (x *ResourceDeleteRequest) GetResourceId() string

func (*ResourceDeleteRequest) ProtoMessage

func (*ResourceDeleteRequest) ProtoMessage()

func (*ResourceDeleteRequest) ProtoReflect

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

func (*ResourceDeleteRequest) Reset

func (x *ResourceDeleteRequest) Reset()

func (*ResourceDeleteRequest) String

func (x *ResourceDeleteRequest) String() string

type ResourceListResponse

type ResourceListResponse struct {
	Resources []*ResourceResponse `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

ResourceList is a list of resources

func (*ResourceListResponse) Descriptor deprecated

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

Deprecated: Use ResourceListResponse.ProtoReflect.Descriptor instead.

func (*ResourceListResponse) GetResources

func (x *ResourceListResponse) GetResources() []*ResourceResponse

func (*ResourceListResponse) ProtoMessage

func (*ResourceListResponse) ProtoMessage()

func (*ResourceListResponse) ProtoReflect

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

func (*ResourceListResponse) Reset

func (x *ResourceListResponse) Reset()

func (*ResourceListResponse) String

func (x *ResourceListResponse) String() string

type ResourceResponse

type ResourceResponse struct {
	ResourceId string                 `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	AccountId  int64                  `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	DomainId   string                 `protobuf:"bytes,3,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Name       string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Resource response

func (*ResourceResponse) Descriptor deprecated

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

Deprecated: Use ResourceResponse.ProtoReflect.Descriptor instead.

func (*ResourceResponse) GetAccountId

func (x *ResourceResponse) GetAccountId() int64

func (*ResourceResponse) GetCreatedAt

func (x *ResourceResponse) GetCreatedAt() *timestamppb.Timestamp

func (*ResourceResponse) GetDomainId

func (x *ResourceResponse) GetDomainId() string

func (*ResourceResponse) GetName

func (x *ResourceResponse) GetName() string

func (*ResourceResponse) GetResourceId

func (x *ResourceResponse) GetResourceId() string

func (*ResourceResponse) GetUpdatedAt

func (x *ResourceResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*ResourceResponse) ProtoMessage

func (*ResourceResponse) ProtoMessage()

func (*ResourceResponse) ProtoReflect

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

func (*ResourceResponse) Reset

func (x *ResourceResponse) Reset()

func (*ResourceResponse) String

func (x *ResourceResponse) String() string

type ResourceUpdateRequest

type ResourceUpdateRequest struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Resource update request

func (*ResourceUpdateRequest) Descriptor deprecated

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

Deprecated: Use ResourceUpdateRequest.ProtoReflect.Descriptor instead.

func (*ResourceUpdateRequest) GetName

func (x *ResourceUpdateRequest) GetName() string

func (*ResourceUpdateRequest) GetResourceId

func (x *ResourceUpdateRequest) GetResourceId() string

func (*ResourceUpdateRequest) ProtoMessage

func (*ResourceUpdateRequest) ProtoMessage()

func (*ResourceUpdateRequest) ProtoReflect

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

func (*ResourceUpdateRequest) Reset

func (x *ResourceUpdateRequest) Reset()

func (*ResourceUpdateRequest) String

func (x *ResourceUpdateRequest) String() string

type TenantCreateRequest

type TenantCreateRequest struct {
	AccountId int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Tenant create request

func (*TenantCreateRequest) Descriptor deprecated

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

Deprecated: Use TenantCreateRequest.ProtoReflect.Descriptor instead.

func (*TenantCreateRequest) GetAccountId

func (x *TenantCreateRequest) GetAccountId() int64

func (*TenantCreateRequest) GetName

func (x *TenantCreateRequest) GetName() string

func (*TenantCreateRequest) ProtoMessage

func (*TenantCreateRequest) ProtoMessage()

func (*TenantCreateRequest) ProtoReflect

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

func (*TenantCreateRequest) Reset

func (x *TenantCreateRequest) Reset()

func (*TenantCreateRequest) String

func (x *TenantCreateRequest) String() string

type TenantDeleteRequest

type TenantDeleteRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

Tenant delete request

func (*TenantDeleteRequest) Descriptor deprecated

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

Deprecated: Use TenantDeleteRequest.ProtoReflect.Descriptor instead.

func (*TenantDeleteRequest) GetTenantId

func (x *TenantDeleteRequest) GetTenantId() string

func (*TenantDeleteRequest) ProtoMessage

func (*TenantDeleteRequest) ProtoMessage()

func (*TenantDeleteRequest) ProtoReflect

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

func (*TenantDeleteRequest) Reset

func (x *TenantDeleteRequest) Reset()

func (*TenantDeleteRequest) String

func (x *TenantDeleteRequest) String() string

type TenantListResponse

type TenantListResponse struct {
	Tenants []*TenantResponse `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// contains filtered or unexported fields
}

TenantList is a list of tenants

func (*TenantListResponse) Descriptor deprecated

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

Deprecated: Use TenantListResponse.ProtoReflect.Descriptor instead.

func (*TenantListResponse) GetTenants

func (x *TenantListResponse) GetTenants() []*TenantResponse

func (*TenantListResponse) ProtoMessage

func (*TenantListResponse) ProtoMessage()

func (*TenantListResponse) ProtoReflect

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

func (*TenantListResponse) Reset

func (x *TenantListResponse) Reset()

func (*TenantListResponse) String

func (x *TenantListResponse) String() string

type TenantResponse

type TenantResponse struct {
	TenantId  string                 `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	AccountId int64                  `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Name      string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Tenant response

func (*TenantResponse) Descriptor deprecated

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

Deprecated: Use TenantResponse.ProtoReflect.Descriptor instead.

func (*TenantResponse) GetAccountId

func (x *TenantResponse) GetAccountId() int64

func (*TenantResponse) GetCreatedAt

func (x *TenantResponse) GetCreatedAt() *timestamppb.Timestamp

func (*TenantResponse) GetName

func (x *TenantResponse) GetName() string

func (*TenantResponse) GetTenantId

func (x *TenantResponse) GetTenantId() string

func (*TenantResponse) GetUpdatedAt

func (x *TenantResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*TenantResponse) ProtoMessage

func (*TenantResponse) ProtoMessage()

func (*TenantResponse) ProtoReflect

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

func (*TenantResponse) Reset

func (x *TenantResponse) Reset()

func (*TenantResponse) String

func (x *TenantResponse) String() string

type TenantUpdateRequest

type TenantUpdateRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Tenant update request

func (*TenantUpdateRequest) Descriptor deprecated

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

Deprecated: Use TenantUpdateRequest.ProtoReflect.Descriptor instead.

func (*TenantUpdateRequest) GetName

func (x *TenantUpdateRequest) GetName() string

func (*TenantUpdateRequest) GetTenantId

func (x *TenantUpdateRequest) GetTenantId() string

func (*TenantUpdateRequest) ProtoMessage

func (*TenantUpdateRequest) ProtoMessage()

func (*TenantUpdateRequest) ProtoReflect

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

func (*TenantUpdateRequest) Reset

func (x *TenantUpdateRequest) Reset()

func (*TenantUpdateRequest) String

func (x *TenantUpdateRequest) String() string

type UnimplementedV1AAPServiceServer

type UnimplementedV1AAPServiceServer struct {
}

UnimplementedV1AAPServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedV1AAPServiceServer) CreateAccount

func (UnimplementedV1AAPServiceServer) CreateAction

func (UnimplementedV1AAPServiceServer) CreateDomain

func (UnimplementedV1AAPServiceServer) CreateIdentity

func (UnimplementedV1AAPServiceServer) CreateProject

func (UnimplementedV1AAPServiceServer) CreateResource

func (UnimplementedV1AAPServiceServer) CreateTenant

func (UnimplementedV1AAPServiceServer) DeleteAccount

func (UnimplementedV1AAPServiceServer) DeleteAction

func (UnimplementedV1AAPServiceServer) DeleteDomain

func (UnimplementedV1AAPServiceServer) DeleteIdentity

func (UnimplementedV1AAPServiceServer) DeleteProject

func (UnimplementedV1AAPServiceServer) DeleteResource

func (UnimplementedV1AAPServiceServer) DeleteTenant

func (UnimplementedV1AAPServiceServer) GetAllAccounts

func (UnimplementedV1AAPServiceServer) GetAllActions

func (UnimplementedV1AAPServiceServer) GetAllDomains

func (UnimplementedV1AAPServiceServer) GetAllIdentities

func (UnimplementedV1AAPServiceServer) GetAllProjects

func (UnimplementedV1AAPServiceServer) GetAllResources

func (UnimplementedV1AAPServiceServer) GetAllTenants

func (UnimplementedV1AAPServiceServer) UpdateAccount

func (UnimplementedV1AAPServiceServer) UpdateAction

func (UnimplementedV1AAPServiceServer) UpdateDomain

func (UnimplementedV1AAPServiceServer) UpdateIdentity

func (UnimplementedV1AAPServiceServer) UpdateProject

func (UnimplementedV1AAPServiceServer) UpdateResource

func (UnimplementedV1AAPServiceServer) UpdateTenant

type UnsafeV1AAPServiceServer

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

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

type V1AAPServer

type V1AAPServer struct {
	UnimplementedV1AAPServiceServer
	// contains filtered or unexported fields
}

V1AAPServer is the gRPC server for the AAP.

func NewV1AAPServer

func NewV1AAPServer(endpointCtx *azservices.EndpointContext, Service AAPService) (*V1AAPServer, error)

NewV1AAPServer creates a new AAP server.

func (V1AAPServer) CreateAccount

func (s V1AAPServer) CreateAccount(ctx context.Context, accountRequest *AccountCreateRequest) (*AccountResponse, error)

CreateAccount creates a new account.

func (V1AAPServer) DeleteAccount

func (s V1AAPServer) DeleteAccount(ctx context.Context, accountRequest *AccountDeleteRequest) (*AccountResponse, error)

DeleteAccount deletes an account.

func (V1AAPServer) GetAllAccounts

GetAllAccounts returns all the accounts.

type V1AAPServiceClient

type V1AAPServiceClient interface {
	// Create an account
	CreateAccount(ctx context.Context, in *AccountCreateRequest, opts ...grpc.CallOption) (*AccountResponse, error)
	// Update an account
	UpdateAccount(ctx context.Context, in *AccountUpdateRequest, opts ...grpc.CallOption) (*AccountResponse, error)
	// Delete an account
	DeleteAccount(ctx context.Context, in *AccountDeleteRequest, opts ...grpc.CallOption) (*AccountResponse, error)
	// Get all accounts
	GetAllAccounts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AccountListResponse, error)
	// Create a tenant
	CreateTenant(ctx context.Context, in *TenantCreateRequest, opts ...grpc.CallOption) (*TenantResponse, error)
	// Update a tenant
	UpdateTenant(ctx context.Context, in *TenantUpdateRequest, opts ...grpc.CallOption) (*TenantResponse, error)
	// Delete a tenant
	DeleteTenant(ctx context.Context, in *TenantDeleteRequest, opts ...grpc.CallOption) (*TenantResponse, error)
	// Get all tenants
	GetAllTenants(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TenantListResponse, error)
	// Create a identity
	CreateIdentity(ctx context.Context, in *IdentityCreateRequest, opts ...grpc.CallOption) (*IdentityResponse, error)
	// Update a identity
	UpdateIdentity(ctx context.Context, in *IdentityUpdateRequest, opts ...grpc.CallOption) (*IdentityResponse, error)
	// Delete a identity
	DeleteIdentity(ctx context.Context, in *IdentityDeleteRequest, opts ...grpc.CallOption) (*IdentityResponse, error)
	// Get all identities
	GetAllIdentities(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IdentityListResponse, error)
	// Create a project
	CreateProject(ctx context.Context, in *ProjectCreateRequest, opts ...grpc.CallOption) (*ProjectResponse, error)
	// Update a project
	UpdateProject(ctx context.Context, in *ProjectUpdateRequest, opts ...grpc.CallOption) (*ProjectResponse, error)
	// Delete a project
	DeleteProject(ctx context.Context, in *ProjectDeleteRequest, opts ...grpc.CallOption) (*ProjectResponse, error)
	// Get all projects
	GetAllProjects(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ProjectListResponse, error)
	// Create a domain
	CreateDomain(ctx context.Context, in *DomainCreateRequest, opts ...grpc.CallOption) (*DomainResponse, error)
	// Update a domain
	UpdateDomain(ctx context.Context, in *DomainUpdateRequest, opts ...grpc.CallOption) (*DomainResponse, error)
	// Delete a domain
	DeleteDomain(ctx context.Context, in *DomainDeleteRequest, opts ...grpc.CallOption) (*DomainResponse, error)
	// Get all domains
	GetAllDomains(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DomainListResponse, error)
	// Create a resource
	CreateResource(ctx context.Context, in *ResourceCreateRequest, opts ...grpc.CallOption) (*ResourceResponse, error)
	// Update a resource
	UpdateResource(ctx context.Context, in *ResourceUpdateRequest, opts ...grpc.CallOption) (*ResourceResponse, error)
	// Delete a resource
	DeleteResource(ctx context.Context, in *ResourceDeleteRequest, opts ...grpc.CallOption) (*ResourceResponse, error)
	// Get all resources
	GetAllResources(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ResourceListResponse, error)
	// Create a action
	CreateAction(ctx context.Context, in *ActionCreateRequest, opts ...grpc.CallOption) (*ActionResponse, error)
	// Update a action
	UpdateAction(ctx context.Context, in *ActionUpdateRequest, opts ...grpc.CallOption) (*ActionResponse, error)
	// Delete a action
	DeleteAction(ctx context.Context, in *ActionDeleteRequest, opts ...grpc.CallOption) (*ActionResponse, error)
	// Get all actions
	GetAllActions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ActionListResponse, error)
}

V1AAPServiceClient is the client API for V1AAPService service.

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

type V1AAPServiceServer

type V1AAPServiceServer interface {
	// Create an account
	CreateAccount(context.Context, *AccountCreateRequest) (*AccountResponse, error)
	// Update an account
	UpdateAccount(context.Context, *AccountUpdateRequest) (*AccountResponse, error)
	// Delete an account
	DeleteAccount(context.Context, *AccountDeleteRequest) (*AccountResponse, error)
	// Get all accounts
	GetAllAccounts(context.Context, *emptypb.Empty) (*AccountListResponse, error)
	// Create a tenant
	CreateTenant(context.Context, *TenantCreateRequest) (*TenantResponse, error)
	// Update a tenant
	UpdateTenant(context.Context, *TenantUpdateRequest) (*TenantResponse, error)
	// Delete a tenant
	DeleteTenant(context.Context, *TenantDeleteRequest) (*TenantResponse, error)
	// Get all tenants
	GetAllTenants(context.Context, *emptypb.Empty) (*TenantListResponse, error)
	// Create a identity
	CreateIdentity(context.Context, *IdentityCreateRequest) (*IdentityResponse, error)
	// Update a identity
	UpdateIdentity(context.Context, *IdentityUpdateRequest) (*IdentityResponse, error)
	// Delete a identity
	DeleteIdentity(context.Context, *IdentityDeleteRequest) (*IdentityResponse, error)
	// Get all identities
	GetAllIdentities(context.Context, *emptypb.Empty) (*IdentityListResponse, error)
	// Create a project
	CreateProject(context.Context, *ProjectCreateRequest) (*ProjectResponse, error)
	// Update a project
	UpdateProject(context.Context, *ProjectUpdateRequest) (*ProjectResponse, error)
	// Delete a project
	DeleteProject(context.Context, *ProjectDeleteRequest) (*ProjectResponse, error)
	// Get all projects
	GetAllProjects(context.Context, *emptypb.Empty) (*ProjectListResponse, error)
	// Create a domain
	CreateDomain(context.Context, *DomainCreateRequest) (*DomainResponse, error)
	// Update a domain
	UpdateDomain(context.Context, *DomainUpdateRequest) (*DomainResponse, error)
	// Delete a domain
	DeleteDomain(context.Context, *DomainDeleteRequest) (*DomainResponse, error)
	// Get all domains
	GetAllDomains(context.Context, *emptypb.Empty) (*DomainListResponse, error)
	// Create a resource
	CreateResource(context.Context, *ResourceCreateRequest) (*ResourceResponse, error)
	// Update a resource
	UpdateResource(context.Context, *ResourceUpdateRequest) (*ResourceResponse, error)
	// Delete a resource
	DeleteResource(context.Context, *ResourceDeleteRequest) (*ResourceResponse, error)
	// Get all resources
	GetAllResources(context.Context, *emptypb.Empty) (*ResourceListResponse, error)
	// Create a action
	CreateAction(context.Context, *ActionCreateRequest) (*ActionResponse, error)
	// Update a action
	UpdateAction(context.Context, *ActionUpdateRequest) (*ActionResponse, error)
	// Delete a action
	DeleteAction(context.Context, *ActionDeleteRequest) (*ActionResponse, error)
	// Get all actions
	GetAllActions(context.Context, *emptypb.Empty) (*ActionListResponse, error)
	// contains filtered or unexported methods
}

V1AAPServiceServer is the server API for V1AAPService service. All implementations must embed UnimplementedV1AAPServiceServer for forward compatibility

Jump to

Keyboard shortcuts

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