Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDomainServiceServer(s grpc.ServiceRegistrar, srv DomainServiceServer)
- type CreateDomainRequest
- func (*CreateDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainRequest) GetDomainName() string
- func (x *CreateDomainRequest) GetDomainUUId() string
- func (x *CreateDomainRequest) GetNetworkDomain() string
- func (x *CreateDomainRequest) GetParentDomainId() int64
- func (x *CreateDomainRequest) GetResponseType() string
- func (*CreateDomainRequest) ProtoMessage()
- func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDomainRequest) Reset()
- func (x *CreateDomainRequest) String() string
- type CreateDomainResponse
- func (*CreateDomainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainResponse) GetResult() *Result
- func (*CreateDomainResponse) ProtoMessage()
- func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDomainResponse) Reset()
- func (x *CreateDomainResponse) String() string
- type DeleteDomainRequest
- func (*DeleteDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDomainRequest) GetCleanup() bool
- func (x *DeleteDomainRequest) GetId() int64
- func (x *DeleteDomainRequest) GetInjectedJobId() string
- func (x *DeleteDomainRequest) GetResponseType() string
- func (x *DeleteDomainRequest) GetStartEventId() int64
- func (*DeleteDomainRequest) ProtoMessage()
- func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDomainRequest) Reset()
- func (x *DeleteDomainRequest) String() string
- type DeleteDomainResponse
- func (*DeleteDomainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDomainResponse) GetResult() *Result
- func (*DeleteDomainResponse) ProtoMessage()
- func (x *DeleteDomainResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDomainResponse) Reset()
- func (x *DeleteDomainResponse) String() string
- type Domain
- func (*Domain) Descriptor() ([]byte, []int)deprecated
- func (x *Domain) GetCreated() string
- func (x *Domain) GetDescription() string
- func (x *Domain) GetDisplayName() string
- func (x *Domain) GetId() string
- func (x *Domain) GetName() string
- func (*Domain) ProtoMessage()
- func (x *Domain) ProtoReflect() protoreflect.Message
- func (x *Domain) Reset()
- func (x *Domain) String() string
- type DomainServiceClient
- type DomainServiceServer
- type ListDomainChildrenRequest
- func (*ListDomainChildrenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainChildrenRequest) GetDomainName() string
- func (x *ListDomainChildrenRequest) GetId() int64
- func (x *ListDomainChildrenRequest) GetKeyword() string
- func (x *ListDomainChildrenRequest) GetListAll() bool
- func (x *ListDomainChildrenRequest) GetPage() int32
- func (x *ListDomainChildrenRequest) GetPageSize() int32
- func (x *ListDomainChildrenRequest) GetRecursive() bool
- func (x *ListDomainChildrenRequest) GetResponseType() string
- func (x *ListDomainChildrenRequest) GetShowIcon() bool
- func (*ListDomainChildrenRequest) ProtoMessage()
- func (x *ListDomainChildrenRequest) ProtoReflect() protoreflect.Message
- func (x *ListDomainChildrenRequest) Reset()
- func (x *ListDomainChildrenRequest) String() string
- type ListDomainChildrenResponse
- func (*ListDomainChildrenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainChildrenResponse) GetItems() []*Domain
- func (x *ListDomainChildrenResponse) GetTotalCount() int32
- func (*ListDomainChildrenResponse) ProtoMessage()
- func (x *ListDomainChildrenResponse) ProtoReflect() protoreflect.Message
- func (x *ListDomainChildrenResponse) Reset()
- func (x *ListDomainChildrenResponse) String() string
- type ListDomainsCmdByAdminRequest
- func (*ListDomainsCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsCmdByAdminRequest) GetDomainName() string
- func (x *ListDomainsCmdByAdminRequest) GetId() int64
- func (x *ListDomainsCmdByAdminRequest) GetKeyword() string
- func (x *ListDomainsCmdByAdminRequest) GetLevel() int32
- func (x *ListDomainsCmdByAdminRequest) GetListAll() bool
- func (x *ListDomainsCmdByAdminRequest) GetPage() int32
- func (x *ListDomainsCmdByAdminRequest) GetPageSize() int32
- func (x *ListDomainsCmdByAdminRequest) GetResponseType() string
- func (x *ListDomainsCmdByAdminRequest) GetShowIcon() bool
- func (x *ListDomainsCmdByAdminRequest) GetTag() string
- func (x *ListDomainsCmdByAdminRequest) GetViewDetails() []string
- func (*ListDomainsCmdByAdminRequest) ProtoMessage()
- func (x *ListDomainsCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *ListDomainsCmdByAdminRequest) Reset()
- func (x *ListDomainsCmdByAdminRequest) String() string
- type ListDomainsCmdByAdminResponse
- func (*ListDomainsCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsCmdByAdminResponse) GetItems() []*Domain
- func (x *ListDomainsCmdByAdminResponse) GetTotalCount() int32
- func (*ListDomainsCmdByAdminResponse) ProtoMessage()
- func (x *ListDomainsCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *ListDomainsCmdByAdminResponse) Reset()
- func (x *ListDomainsCmdByAdminResponse) String() string
- type ListDomainsRequest
- func (*ListDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsRequest) GetDomainName() string
- func (x *ListDomainsRequest) GetId() int64
- func (x *ListDomainsRequest) GetKeyword() string
- func (x *ListDomainsRequest) GetLevel() int32
- func (x *ListDomainsRequest) GetListAll() bool
- func (x *ListDomainsRequest) GetPage() int32
- func (x *ListDomainsRequest) GetPageSize() int32
- func (x *ListDomainsRequest) GetResponseType() string
- func (x *ListDomainsRequest) GetRunAsAdmin() bool
- func (x *ListDomainsRequest) GetShowIcon() bool
- func (x *ListDomainsRequest) GetTag() string
- func (x *ListDomainsRequest) GetViewDetails() []string
- func (*ListDomainsRequest) ProtoMessage()
- func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDomainsRequest) Reset()
- func (x *ListDomainsRequest) String() string
- type ListDomainsResponse
- func (*ListDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsResponse) GetItems() []*Domain
- func (x *ListDomainsResponse) GetTotalCount() int32
- func (*ListDomainsResponse) ProtoMessage()
- func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDomainsResponse) Reset()
- func (x *ListDomainsResponse) String() string
- type MoveDomainRequest
- func (*MoveDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveDomainRequest) GetDomainId() int64
- func (x *MoveDomainRequest) GetParentDomainId() int64
- func (x *MoveDomainRequest) GetResponseType() string
- func (*MoveDomainRequest) ProtoMessage()
- func (x *MoveDomainRequest) ProtoReflect() protoreflect.Message
- func (x *MoveDomainRequest) Reset()
- func (x *MoveDomainRequest) String() string
- type MoveDomainResponse
- func (*MoveDomainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveDomainResponse) GetResult() *Result
- func (*MoveDomainResponse) ProtoMessage()
- func (x *MoveDomainResponse) ProtoReflect() protoreflect.Message
- func (x *MoveDomainResponse) Reset()
- func (x *MoveDomainResponse) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetDisplayText() string
- func (x *Result) GetId() string
- func (x *Result) GetJobId() string
- func (x *Result) GetJobStatus() string
- func (x *Result) GetSuccess() bool
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Success
- type UnimplementedDomainServiceServer
- func (UnimplementedDomainServiceServer) CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
- func (UnimplementedDomainServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*DeleteDomainResponse, error)
- func (UnimplementedDomainServiceServer) ListDomainChildren(context.Context, *ListDomainChildrenRequest) (*ListDomainChildrenResponse, error)
- func (UnimplementedDomainServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
- func (UnimplementedDomainServiceServer) ListDomainsCmdByAdmin(context.Context, *ListDomainsCmdByAdminRequest) (*ListDomainsCmdByAdminResponse, error)
- func (UnimplementedDomainServiceServer) MoveDomain(context.Context, *MoveDomainRequest) (*MoveDomainResponse, error)
- func (UnimplementedDomainServiceServer) UpdateDomain(context.Context, *UpdateDomainRequest) (*UpdateDomainResponse, error)
- type UnsafeDomainServiceServer
- type UpdateDomainRequest
- func (*UpdateDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDomainRequest) GetDomainName() string
- func (x *UpdateDomainRequest) GetId() int64
- func (x *UpdateDomainRequest) GetNetworkDomain() string
- func (x *UpdateDomainRequest) GetResponseType() string
- func (*UpdateDomainRequest) ProtoMessage()
- func (x *UpdateDomainRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDomainRequest) Reset()
- func (x *UpdateDomainRequest) String() string
- type UpdateDomainResponse
- func (*UpdateDomainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDomainResponse) GetResult() *Result
- func (*UpdateDomainResponse) ProtoMessage()
- func (x *UpdateDomainResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDomainResponse) Reset()
- func (x *UpdateDomainResponse) String() string
Constants ¶
const ( DomainService_CreateDomain_FullMethodName = "/cloudstack.management.domain.v1.DomainService/CreateDomain" DomainService_DeleteDomain_FullMethodName = "/cloudstack.management.domain.v1.DomainService/DeleteDomain" DomainService_ListDomainChildren_FullMethodName = "/cloudstack.management.domain.v1.DomainService/ListDomainChildren" DomainService_ListDomains_FullMethodName = "/cloudstack.management.domain.v1.DomainService/ListDomains" DomainService_ListDomainsCmdByAdmin_FullMethodName = "/cloudstack.management.domain.v1.DomainService/ListDomainsCmdByAdmin" DomainService_MoveDomain_FullMethodName = "/cloudstack.management.domain.v1.DomainService/MoveDomain" DomainService_UpdateDomain_FullMethodName = "/cloudstack.management.domain.v1.DomainService/UpdateDomain" )
Variables ¶
var DomainService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.domain.v1.DomainService", HandlerType: (*DomainServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDomain", Handler: _DomainService_CreateDomain_Handler, }, { MethodName: "DeleteDomain", Handler: _DomainService_DeleteDomain_Handler, }, { MethodName: "ListDomainChildren", Handler: _DomainService_ListDomainChildren_Handler, }, { MethodName: "ListDomains", Handler: _DomainService_ListDomains_Handler, }, { MethodName: "ListDomainsCmdByAdmin", Handler: _DomainService_ListDomainsCmdByAdmin_Handler, }, { MethodName: "MoveDomain", Handler: _DomainService_MoveDomain_Handler, }, { MethodName: "UpdateDomain", Handler: _DomainService_UpdateDomain_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/domain/v1/domain.gen.proto", }
DomainService_ServiceDesc is the grpc.ServiceDesc for DomainService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cloudstack_management_domain_v1_domain_gen_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDomainServiceServer ¶
func RegisterDomainServiceServer(s grpc.ServiceRegistrar, srv DomainServiceServer)
Types ¶
type CreateDomainRequest ¶
type CreateDomainRequest struct {
// creates domain with this name
DomainName *string `protobuf:"bytes,1,opt,name=domain_name,json=domainName" json:"domain_name,omitempty"`
// assigns new domain a parent domain by domain ID of the parent. If no parent domain is specified, the ROOT domain is assumed.
ParentDomainId *int64 `protobuf:"varint,2,opt,name=parent_domain_id,json=parentDomainId" json:"parent_domain_id,omitempty"`
// Network domain for networks in the domain
NetworkDomain *string `protobuf:"bytes,3,opt,name=network_domain,json=networkDomain" json:"network_domain,omitempty"`
// Domain UUID, required for adding domain from another Region
DomainUUId *string `protobuf:"bytes,4,opt,name=domain_u_u_id,json=domainUUId" json:"domain_u_u_id,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
CreateDomainRequest represents the parameters for creates a domain
func (*CreateDomainRequest) Descriptor
deprecated
func (*CreateDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainRequest.ProtoReflect.Descriptor instead.
func (*CreateDomainRequest) GetDomainName ¶
func (x *CreateDomainRequest) GetDomainName() string
func (*CreateDomainRequest) GetDomainUUId ¶
func (x *CreateDomainRequest) GetDomainUUId() string
func (*CreateDomainRequest) GetNetworkDomain ¶
func (x *CreateDomainRequest) GetNetworkDomain() string
func (*CreateDomainRequest) GetParentDomainId ¶
func (x *CreateDomainRequest) GetParentDomainId() int64
func (*CreateDomainRequest) GetResponseType ¶
func (x *CreateDomainRequest) GetResponseType() string
func (*CreateDomainRequest) ProtoMessage ¶
func (*CreateDomainRequest) ProtoMessage()
func (*CreateDomainRequest) ProtoReflect ¶
func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message
func (*CreateDomainRequest) Reset ¶
func (x *CreateDomainRequest) Reset()
func (*CreateDomainRequest) String ¶
func (x *CreateDomainRequest) String() string
type CreateDomainResponse ¶
type CreateDomainResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CreateDomainResponse represents the response from creates a domain
func (*CreateDomainResponse) Descriptor
deprecated
func (*CreateDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainResponse.ProtoReflect.Descriptor instead.
func (*CreateDomainResponse) GetResult ¶
func (x *CreateDomainResponse) GetResult() *Result
func (*CreateDomainResponse) ProtoMessage ¶
func (*CreateDomainResponse) ProtoMessage()
func (*CreateDomainResponse) ProtoReflect ¶
func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message
func (*CreateDomainResponse) Reset ¶
func (x *CreateDomainResponse) Reset()
func (*CreateDomainResponse) String ¶
func (x *CreateDomainResponse) String() string
type DeleteDomainRequest ¶
type DeleteDomainRequest struct {
// ID of domain to delete
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// true if all domain resources (child domains, accounts) have to be cleaned up, false otherwise
Cleanup *bool `protobuf:"varint,2,opt,name=cleanup" json:"cleanup,omitempty"`
StartEventId *int64 `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
DeleteDomainRequest represents the parameters for deletes a specified domain
func (*DeleteDomainRequest) Descriptor
deprecated
func (*DeleteDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainRequest) GetCleanup ¶
func (x *DeleteDomainRequest) GetCleanup() bool
func (*DeleteDomainRequest) GetId ¶
func (x *DeleteDomainRequest) GetId() int64
func (*DeleteDomainRequest) GetInjectedJobId ¶
func (x *DeleteDomainRequest) GetInjectedJobId() string
func (*DeleteDomainRequest) GetResponseType ¶
func (x *DeleteDomainRequest) GetResponseType() string
func (*DeleteDomainRequest) GetStartEventId ¶
func (x *DeleteDomainRequest) GetStartEventId() int64
func (*DeleteDomainRequest) ProtoMessage ¶
func (*DeleteDomainRequest) ProtoMessage()
func (*DeleteDomainRequest) ProtoReflect ¶
func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message
func (*DeleteDomainRequest) Reset ¶
func (x *DeleteDomainRequest) Reset()
func (*DeleteDomainRequest) String ¶
func (x *DeleteDomainRequest) String() string
type DeleteDomainResponse ¶
type DeleteDomainResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteDomainResponse represents the response from deletes a specified domain
func (*DeleteDomainResponse) Descriptor
deprecated
func (*DeleteDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainResponse.ProtoReflect.Descriptor instead.
func (*DeleteDomainResponse) GetResult ¶
func (x *DeleteDomainResponse) GetResult() *Result
func (*DeleteDomainResponse) ProtoMessage ¶
func (*DeleteDomainResponse) ProtoMessage()
func (*DeleteDomainResponse) ProtoReflect ¶
func (x *DeleteDomainResponse) ProtoReflect() protoreflect.Message
func (*DeleteDomainResponse) Reset ¶
func (x *DeleteDomainResponse) Reset()
func (*DeleteDomainResponse) String ¶
func (x *DeleteDomainResponse) String() string
type Domain ¶
type Domain struct {
// The ID of the Domain
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the Domain
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the Domain
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the Domain
Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
// The date this entity was created
Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
// contains filtered or unexported fields
}
Domain represents a Domain Item
func (*Domain) Descriptor
deprecated
func (*Domain) GetCreated ¶
func (*Domain) GetDescription ¶
func (*Domain) GetDisplayName ¶
func (*Domain) ProtoMessage ¶
func (*Domain) ProtoMessage()
func (*Domain) ProtoReflect ¶
func (x *Domain) ProtoReflect() protoreflect.Message
type DomainServiceClient ¶
type DomainServiceClient interface {
// CreateDomain Creates a domain
CreateDomain(ctx context.Context, in *CreateDomainRequest, opts ...grpc.CallOption) (*CreateDomainResponse, error)
// DeleteDomain Deletes a specified domain
DeleteDomain(ctx context.Context, in *DeleteDomainRequest, opts ...grpc.CallOption) (*DeleteDomainResponse, error)
// ListDomainChildren Lists all children domains belonging to a specified domain
ListDomainChildren(ctx context.Context, in *ListDomainChildrenRequest, opts ...grpc.CallOption) (*ListDomainChildrenResponse, error)
// ListDomains Lists domains and provides detailed information for listed domains
ListDomains(ctx context.Context, in *ListDomainsRequest, opts ...grpc.CallOption) (*ListDomainsResponse, error)
// ListDomainsCmdByAdmin Lists domains and provides detailed information for listed domains
ListDomainsCmdByAdmin(ctx context.Context, in *ListDomainsCmdByAdminRequest, opts ...grpc.CallOption) (*ListDomainsCmdByAdminResponse, error)
// MoveDomain Moves a domain and its children to a new parent domain.
MoveDomain(ctx context.Context, in *MoveDomainRequest, opts ...grpc.CallOption) (*MoveDomainResponse, error)
// UpdateDomain Updates a domain with a new name
UpdateDomain(ctx context.Context, in *UpdateDomainRequest, opts ...grpc.CallOption) (*UpdateDomainResponse, error)
}
DomainServiceClient is the client API for DomainService 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.
DomainService provides operations for managing Domains
func NewDomainServiceClient ¶
func NewDomainServiceClient(cc grpc.ClientConnInterface) DomainServiceClient
type DomainServiceServer ¶
type DomainServiceServer interface {
// CreateDomain Creates a domain
CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
// DeleteDomain Deletes a specified domain
DeleteDomain(context.Context, *DeleteDomainRequest) (*DeleteDomainResponse, error)
// ListDomainChildren Lists all children domains belonging to a specified domain
ListDomainChildren(context.Context, *ListDomainChildrenRequest) (*ListDomainChildrenResponse, error)
// ListDomains Lists domains and provides detailed information for listed domains
ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
// ListDomainsCmdByAdmin Lists domains and provides detailed information for listed domains
ListDomainsCmdByAdmin(context.Context, *ListDomainsCmdByAdminRequest) (*ListDomainsCmdByAdminResponse, error)
// MoveDomain Moves a domain and its children to a new parent domain.
MoveDomain(context.Context, *MoveDomainRequest) (*MoveDomainResponse, error)
// UpdateDomain Updates a domain with a new name
UpdateDomain(context.Context, *UpdateDomainRequest) (*UpdateDomainResponse, error)
// contains filtered or unexported methods
}
DomainServiceServer is the server API for DomainService service. All implementations must embed UnimplementedDomainServiceServer for forward compatibility.
DomainService provides operations for managing Domains
type ListDomainChildrenRequest ¶
type ListDomainChildrenRequest struct {
// list children domain by parent domain ID.
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// list children domains by name
DomainName *string `protobuf:"bytes,2,opt,name=domain_name,json=domainName" json:"domain_name,omitempty"`
// to return the entire tree, use the value "true". To return the first level children, use the value "false".
Recursive *bool `protobuf:"varint,3,opt,name=recursive" json:"recursive,omitempty"`
// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false
ListAll *bool `protobuf:"varint,4,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// flag to display the resource icon for domains
ShowIcon *bool `protobuf:"varint,5,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,6,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,7,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,9,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListDomainChildrenRequest represents the parameters for lists all children domains belonging to a specified domain
func (*ListDomainChildrenRequest) Descriptor
deprecated
func (*ListDomainChildrenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainChildrenRequest.ProtoReflect.Descriptor instead.
func (*ListDomainChildrenRequest) GetDomainName ¶
func (x *ListDomainChildrenRequest) GetDomainName() string
func (*ListDomainChildrenRequest) GetId ¶
func (x *ListDomainChildrenRequest) GetId() int64
func (*ListDomainChildrenRequest) GetKeyword ¶
func (x *ListDomainChildrenRequest) GetKeyword() string
func (*ListDomainChildrenRequest) GetListAll ¶
func (x *ListDomainChildrenRequest) GetListAll() bool
func (*ListDomainChildrenRequest) GetPage ¶
func (x *ListDomainChildrenRequest) GetPage() int32
func (*ListDomainChildrenRequest) GetPageSize ¶
func (x *ListDomainChildrenRequest) GetPageSize() int32
func (*ListDomainChildrenRequest) GetRecursive ¶
func (x *ListDomainChildrenRequest) GetRecursive() bool
func (*ListDomainChildrenRequest) GetResponseType ¶
func (x *ListDomainChildrenRequest) GetResponseType() string
func (*ListDomainChildrenRequest) GetShowIcon ¶
func (x *ListDomainChildrenRequest) GetShowIcon() bool
func (*ListDomainChildrenRequest) ProtoMessage ¶
func (*ListDomainChildrenRequest) ProtoMessage()
func (*ListDomainChildrenRequest) ProtoReflect ¶
func (x *ListDomainChildrenRequest) ProtoReflect() protoreflect.Message
func (*ListDomainChildrenRequest) Reset ¶
func (x *ListDomainChildrenRequest) Reset()
func (*ListDomainChildrenRequest) String ¶
func (x *ListDomainChildrenRequest) String() string
type ListDomainChildrenResponse ¶
type ListDomainChildrenResponse struct {
// The list of Domains
Items []*Domain `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Domains
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListDomainChildrenResponse represents the response from lists all children domains belonging to a specified domain
func (*ListDomainChildrenResponse) Descriptor
deprecated
func (*ListDomainChildrenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainChildrenResponse.ProtoReflect.Descriptor instead.
func (*ListDomainChildrenResponse) GetItems ¶
func (x *ListDomainChildrenResponse) GetItems() []*Domain
func (*ListDomainChildrenResponse) GetTotalCount ¶
func (x *ListDomainChildrenResponse) GetTotalCount() int32
func (*ListDomainChildrenResponse) ProtoMessage ¶
func (*ListDomainChildrenResponse) ProtoMessage()
func (*ListDomainChildrenResponse) ProtoReflect ¶
func (x *ListDomainChildrenResponse) ProtoReflect() protoreflect.Message
func (*ListDomainChildrenResponse) Reset ¶
func (x *ListDomainChildrenResponse) Reset()
func (*ListDomainChildrenResponse) String ¶
func (x *ListDomainChildrenResponse) String() string
type ListDomainsCmdByAdminRequest ¶
type ListDomainsCmdByAdminRequest struct {
// List domain by domain ID.
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// List domains by domain level.
Level *int32 `protobuf:"varint,2,opt,name=level" json:"level,omitempty"`
// List domain by domain name.
DomainName *string `protobuf:"bytes,3,opt,name=domain_name,json=domainName" json:"domain_name,omitempty"`
// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false
ListAll *bool `protobuf:"varint,4,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// comma separated list of domain details requested, value can be a list of [ all, resource, min]
ViewDetails []string `protobuf:"bytes,5,rep,name=view_details,json=viewDetails" json:"view_details,omitempty"`
// flag to display the resource icon for domains
ShowIcon *bool `protobuf:"varint,6,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
// Tag for resource type to return usage
Tag *string `protobuf:"bytes,7,opt,name=tag" json:"tag,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,8,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,9,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,10,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,11,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListDomainsCmdByAdminRequest represents the parameters for lists domains and provides detailed information for listed domains
func (*ListDomainsCmdByAdminRequest) Descriptor
deprecated
func (*ListDomainsCmdByAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsCmdByAdminRequest.ProtoReflect.Descriptor instead.
func (*ListDomainsCmdByAdminRequest) GetDomainName ¶
func (x *ListDomainsCmdByAdminRequest) GetDomainName() string
func (*ListDomainsCmdByAdminRequest) GetId ¶
func (x *ListDomainsCmdByAdminRequest) GetId() int64
func (*ListDomainsCmdByAdminRequest) GetKeyword ¶
func (x *ListDomainsCmdByAdminRequest) GetKeyword() string
func (*ListDomainsCmdByAdminRequest) GetLevel ¶
func (x *ListDomainsCmdByAdminRequest) GetLevel() int32
func (*ListDomainsCmdByAdminRequest) GetListAll ¶
func (x *ListDomainsCmdByAdminRequest) GetListAll() bool
func (*ListDomainsCmdByAdminRequest) GetPage ¶
func (x *ListDomainsCmdByAdminRequest) GetPage() int32
func (*ListDomainsCmdByAdminRequest) GetPageSize ¶
func (x *ListDomainsCmdByAdminRequest) GetPageSize() int32
func (*ListDomainsCmdByAdminRequest) GetResponseType ¶
func (x *ListDomainsCmdByAdminRequest) GetResponseType() string
func (*ListDomainsCmdByAdminRequest) GetShowIcon ¶
func (x *ListDomainsCmdByAdminRequest) GetShowIcon() bool
func (*ListDomainsCmdByAdminRequest) GetTag ¶
func (x *ListDomainsCmdByAdminRequest) GetTag() string
func (*ListDomainsCmdByAdminRequest) GetViewDetails ¶
func (x *ListDomainsCmdByAdminRequest) GetViewDetails() []string
func (*ListDomainsCmdByAdminRequest) ProtoMessage ¶
func (*ListDomainsCmdByAdminRequest) ProtoMessage()
func (*ListDomainsCmdByAdminRequest) ProtoReflect ¶
func (x *ListDomainsCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*ListDomainsCmdByAdminRequest) Reset ¶
func (x *ListDomainsCmdByAdminRequest) Reset()
func (*ListDomainsCmdByAdminRequest) String ¶
func (x *ListDomainsCmdByAdminRequest) String() string
type ListDomainsCmdByAdminResponse ¶
type ListDomainsCmdByAdminResponse struct {
// The list of Domains
Items []*Domain `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Domains
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListDomainsCmdByAdminResponse represents the response from lists domains and provides detailed information for listed domains
func (*ListDomainsCmdByAdminResponse) Descriptor
deprecated
func (*ListDomainsCmdByAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsCmdByAdminResponse.ProtoReflect.Descriptor instead.
func (*ListDomainsCmdByAdminResponse) GetItems ¶
func (x *ListDomainsCmdByAdminResponse) GetItems() []*Domain
func (*ListDomainsCmdByAdminResponse) GetTotalCount ¶
func (x *ListDomainsCmdByAdminResponse) GetTotalCount() int32
func (*ListDomainsCmdByAdminResponse) ProtoMessage ¶
func (*ListDomainsCmdByAdminResponse) ProtoMessage()
func (*ListDomainsCmdByAdminResponse) ProtoReflect ¶
func (x *ListDomainsCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*ListDomainsCmdByAdminResponse) Reset ¶
func (x *ListDomainsCmdByAdminResponse) Reset()
func (*ListDomainsCmdByAdminResponse) String ¶
func (x *ListDomainsCmdByAdminResponse) String() string
type ListDomainsRequest ¶
type ListDomainsRequest struct {
// Whether to run this operation as an administrator
RunAsAdmin *bool `protobuf:"varint,1,opt,name=run_as_admin,json=runAsAdmin" json:"run_as_admin,omitempty"`
// List domain by domain ID.
Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
// List domains by domain level.
Level *int32 `protobuf:"varint,3,opt,name=level" json:"level,omitempty"`
// List domain by domain name.
DomainName *string `protobuf:"bytes,4,opt,name=domain_name,json=domainName" json:"domain_name,omitempty"`
// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false
ListAll *bool `protobuf:"varint,5,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// comma separated list of domain details requested, value can be a list of [ all, resource, min]
ViewDetails []string `protobuf:"bytes,6,rep,name=view_details,json=viewDetails" json:"view_details,omitempty"`
// flag to display the resource icon for domains
ShowIcon *bool `protobuf:"varint,7,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
// Tag for resource type to return usage
Tag *string `protobuf:"bytes,8,opt,name=tag" json:"tag,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,9,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,10,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,11,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,12,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListDomainsRequest represents the parameters for lists domains and provides detailed information for listed domains
func (*ListDomainsRequest) Descriptor
deprecated
func (*ListDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListDomainsRequest) GetDomainName ¶
func (x *ListDomainsRequest) GetDomainName() string
func (*ListDomainsRequest) GetId ¶
func (x *ListDomainsRequest) GetId() int64
func (*ListDomainsRequest) GetKeyword ¶
func (x *ListDomainsRequest) GetKeyword() string
func (*ListDomainsRequest) GetLevel ¶
func (x *ListDomainsRequest) GetLevel() int32
func (*ListDomainsRequest) GetListAll ¶
func (x *ListDomainsRequest) GetListAll() bool
func (*ListDomainsRequest) GetPage ¶
func (x *ListDomainsRequest) GetPage() int32
func (*ListDomainsRequest) GetPageSize ¶
func (x *ListDomainsRequest) GetPageSize() int32
func (*ListDomainsRequest) GetResponseType ¶
func (x *ListDomainsRequest) GetResponseType() string
func (*ListDomainsRequest) GetRunAsAdmin ¶
func (x *ListDomainsRequest) GetRunAsAdmin() bool
func (*ListDomainsRequest) GetShowIcon ¶
func (x *ListDomainsRequest) GetShowIcon() bool
func (*ListDomainsRequest) GetTag ¶
func (x *ListDomainsRequest) GetTag() string
func (*ListDomainsRequest) GetViewDetails ¶
func (x *ListDomainsRequest) GetViewDetails() []string
func (*ListDomainsRequest) ProtoMessage ¶
func (*ListDomainsRequest) ProtoMessage()
func (*ListDomainsRequest) ProtoReflect ¶
func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message
func (*ListDomainsRequest) Reset ¶
func (x *ListDomainsRequest) Reset()
func (*ListDomainsRequest) String ¶
func (x *ListDomainsRequest) String() string
type ListDomainsResponse ¶
type ListDomainsResponse struct {
// The list of Domains
Items []*Domain `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Domains
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListDomainsResponse represents the response from lists domains and provides detailed information for listed domains
func (*ListDomainsResponse) Descriptor
deprecated
func (*ListDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListDomainsResponse) GetItems ¶
func (x *ListDomainsResponse) GetItems() []*Domain
func (*ListDomainsResponse) GetTotalCount ¶
func (x *ListDomainsResponse) GetTotalCount() int32
func (*ListDomainsResponse) ProtoMessage ¶
func (*ListDomainsResponse) ProtoMessage()
func (*ListDomainsResponse) ProtoReflect ¶
func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message
func (*ListDomainsResponse) Reset ¶
func (x *ListDomainsResponse) Reset()
func (*ListDomainsResponse) String ¶
func (x *ListDomainsResponse) String() string
type MoveDomainRequest ¶
type MoveDomainRequest struct {
// The ID of the domain to be moved.
DomainId *int64 `protobuf:"varint,1,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// The ID of the new parent domain of the domain to be moved.
ParentDomainId *int64 `protobuf:"varint,2,opt,name=parent_domain_id,json=parentDomainId" json:"parent_domain_id,omitempty"`
ResponseType *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
MoveDomainRequest represents the parameters for moves a domain and its children to a new parent domain.
func (*MoveDomainRequest) Descriptor
deprecated
func (*MoveDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveDomainRequest.ProtoReflect.Descriptor instead.
func (*MoveDomainRequest) GetDomainId ¶
func (x *MoveDomainRequest) GetDomainId() int64
func (*MoveDomainRequest) GetParentDomainId ¶
func (x *MoveDomainRequest) GetParentDomainId() int64
func (*MoveDomainRequest) GetResponseType ¶
func (x *MoveDomainRequest) GetResponseType() string
func (*MoveDomainRequest) ProtoMessage ¶
func (*MoveDomainRequest) ProtoMessage()
func (*MoveDomainRequest) ProtoReflect ¶
func (x *MoveDomainRequest) ProtoReflect() protoreflect.Message
func (*MoveDomainRequest) Reset ¶
func (x *MoveDomainRequest) Reset()
func (*MoveDomainRequest) String ¶
func (x *MoveDomainRequest) String() string
type MoveDomainResponse ¶
type MoveDomainResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
MoveDomainResponse represents the response from moves a domain and its children to a new parent domain.
func (*MoveDomainResponse) Descriptor
deprecated
func (*MoveDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveDomainResponse.ProtoReflect.Descriptor instead.
func (*MoveDomainResponse) GetResult ¶
func (x *MoveDomainResponse) GetResult() *Result
func (*MoveDomainResponse) ProtoMessage ¶
func (*MoveDomainResponse) ProtoMessage()
func (*MoveDomainResponse) ProtoReflect ¶
func (x *MoveDomainResponse) ProtoReflect() protoreflect.Message
func (*MoveDomainResponse) Reset ¶
func (x *MoveDomainResponse) Reset()
func (*MoveDomainResponse) String ¶
func (x *MoveDomainResponse) String() string
type Result ¶
type Result struct {
// Whether the operation was successful
Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
// Any text associated with the success or failure
DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
// The ID of the resource affected by the operation
Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
// The job ID for an async operation
JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
// The status of the job
JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
// contains filtered or unexported fields
}
Result represents a generic operation result
func (*Result) Descriptor
deprecated
func (*Result) GetDisplayText ¶
func (*Result) GetJobStatus ¶
func (*Result) GetSuccess ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type Success ¶
type Success struct {
// true if operation is executed successfully
Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
// any text associated with the success or failure
DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
// contains filtered or unexported fields
}
Success represents a Success Operation Response
func (*Success) Descriptor
deprecated
func (*Success) GetDisplayText ¶
func (*Success) GetSuccess ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type UnimplementedDomainServiceServer ¶
type UnimplementedDomainServiceServer struct{}
UnimplementedDomainServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDomainServiceServer) CreateDomain ¶
func (UnimplementedDomainServiceServer) CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
func (UnimplementedDomainServiceServer) DeleteDomain ¶
func (UnimplementedDomainServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*DeleteDomainResponse, error)
func (UnimplementedDomainServiceServer) ListDomainChildren ¶
func (UnimplementedDomainServiceServer) ListDomainChildren(context.Context, *ListDomainChildrenRequest) (*ListDomainChildrenResponse, error)
func (UnimplementedDomainServiceServer) ListDomains ¶
func (UnimplementedDomainServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
func (UnimplementedDomainServiceServer) ListDomainsCmdByAdmin ¶
func (UnimplementedDomainServiceServer) ListDomainsCmdByAdmin(context.Context, *ListDomainsCmdByAdminRequest) (*ListDomainsCmdByAdminResponse, error)
func (UnimplementedDomainServiceServer) MoveDomain ¶
func (UnimplementedDomainServiceServer) MoveDomain(context.Context, *MoveDomainRequest) (*MoveDomainResponse, error)
func (UnimplementedDomainServiceServer) UpdateDomain ¶
func (UnimplementedDomainServiceServer) UpdateDomain(context.Context, *UpdateDomainRequest) (*UpdateDomainResponse, error)
type UnsafeDomainServiceServer ¶
type UnsafeDomainServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDomainServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DomainServiceServer will result in compilation errors.
type UpdateDomainRequest ¶
type UpdateDomainRequest struct {
// ID of domain to update
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// updates domain with this name
DomainName *string `protobuf:"bytes,2,opt,name=domain_name,json=domainName" json:"domain_name,omitempty"`
// Network domain for the domain's networks; empty string will update domainName with NULL value
NetworkDomain *string `protobuf:"bytes,3,opt,name=network_domain,json=networkDomain" json:"network_domain,omitempty"`
ResponseType *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateDomainRequest represents the parameters for updates a domain with a new name
func (*UpdateDomainRequest) Descriptor
deprecated
func (*UpdateDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDomainRequest.ProtoReflect.Descriptor instead.
func (*UpdateDomainRequest) GetDomainName ¶
func (x *UpdateDomainRequest) GetDomainName() string
func (*UpdateDomainRequest) GetId ¶
func (x *UpdateDomainRequest) GetId() int64
func (*UpdateDomainRequest) GetNetworkDomain ¶
func (x *UpdateDomainRequest) GetNetworkDomain() string
func (*UpdateDomainRequest) GetResponseType ¶
func (x *UpdateDomainRequest) GetResponseType() string
func (*UpdateDomainRequest) ProtoMessage ¶
func (*UpdateDomainRequest) ProtoMessage()
func (*UpdateDomainRequest) ProtoReflect ¶
func (x *UpdateDomainRequest) ProtoReflect() protoreflect.Message
func (*UpdateDomainRequest) Reset ¶
func (x *UpdateDomainRequest) Reset()
func (*UpdateDomainRequest) String ¶
func (x *UpdateDomainRequest) String() string
type UpdateDomainResponse ¶
type UpdateDomainResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateDomainResponse represents the response from updates a domain with a new name
func (*UpdateDomainResponse) Descriptor
deprecated
func (*UpdateDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDomainResponse.ProtoReflect.Descriptor instead.
func (*UpdateDomainResponse) GetResult ¶
func (x *UpdateDomainResponse) GetResult() *Result
func (*UpdateDomainResponse) ProtoMessage ¶
func (*UpdateDomainResponse) ProtoMessage()
func (*UpdateDomainResponse) ProtoReflect ¶
func (x *UpdateDomainResponse) ProtoReflect() protoreflect.Message
func (*UpdateDomainResponse) Reset ¶
func (x *UpdateDomainResponse) Reset()
func (*UpdateDomainResponse) String ¶
func (x *UpdateDomainResponse) String() string