Documentation ¶
Overview ¶
Package v1beta4 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DeploymentIDFromEscrowAccount(id etypes.AccountID) (v1.DeploymentID, bool)
- func DeploymentPath(id types.DeploymentID) string
- func EscrowAccountForDeployment(id v1.DeploymentID) etypes.AccountID
- func ParamKeyTable() paramtypes.KeyTable
- func ParseGroupPath(parts []string) (types.GroupID, error)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)deprecated
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateDeploymentGroups(gspecs []GroupSpec) error
- type DeploymentFilters
- func (filters DeploymentFilters) Accept(obj v1.Deployment, stateVal v1.Deployment_State) bool
- func (*DeploymentFilters) Descriptor() ([]byte, []int)
- func (m *DeploymentFilters) GetDSeq() uint64
- func (m *DeploymentFilters) GetOwner() string
- func (m *DeploymentFilters) GetState() string
- func (m *DeploymentFilters) Marshal() (dAtA []byte, err error)
- func (m *DeploymentFilters) MarshalTo(dAtA []byte) (int, error)
- func (m *DeploymentFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeploymentFilters) ProtoMessage()
- func (m *DeploymentFilters) Reset()
- func (m *DeploymentFilters) Size() (n int)
- func (m *DeploymentFilters) String() string
- func (m *DeploymentFilters) Unmarshal(dAtA []byte) error
- func (m *DeploymentFilters) XXX_DiscardUnknown()
- func (m *DeploymentFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeploymentFilters) XXX_Merge(src proto.Message)
- func (m *DeploymentFilters) XXX_Size() int
- func (m *DeploymentFilters) XXX_Unmarshal(b []byte) error
- type DeploymentResponses
- type GenesisDeployment
- func (*GenesisDeployment) Descriptor() ([]byte, []int)
- func (m *GenesisDeployment) GetDeployment() v1.Deployment
- func (m *GenesisDeployment) GetGroups() Groups
- func (m *GenesisDeployment) Marshal() (dAtA []byte, err error)
- func (m *GenesisDeployment) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisDeployment) ProtoMessage()
- func (m *GenesisDeployment) Reset()
- func (m *GenesisDeployment) Size() (n int)
- func (m *GenesisDeployment) String() string
- func (m *GenesisDeployment) Unmarshal(dAtA []byte) error
- func (m *GenesisDeployment) XXX_DiscardUnknown()
- func (m *GenesisDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisDeployment) XXX_Merge(src proto.Message)
- func (m *GenesisDeployment) XXX_Size() int
- func (m *GenesisDeployment) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDeployments() []GenesisDeployment
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetCreatedAt() int64
- func (m *Group) GetGroupSpec() GroupSpec
- func (m *Group) GetID() v1.GroupID
- func (g Group) GetName() string
- func (g Group) GetResourceUnits() ResourceUnits
- func (m *Group) GetState() Group_State
- func (m *Group) Marshal() (dAtA []byte, err error)
- func (m *Group) MarshalTo(dAtA []byte) (int, error)
- func (m *Group) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) Size() (n int)
- func (m *Group) String() string
- func (m *Group) Unmarshal(dAtA []byte) error
- func (g Group) ValidateClosable() error
- func (g Group) ValidatePausable() error
- func (g Group) ValidateStartable() error
- func (m *Group) XXX_DiscardUnknown()
- func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Group) XXX_Merge(src proto.Message)
- func (m *Group) XXX_Size() int
- func (m *Group) XXX_Unmarshal(b []byte) error
- type GroupFilters
- func (*GroupFilters) Descriptor() ([]byte, []int)
- func (m *GroupFilters) GetDSeq() uint64
- func (m *GroupFilters) GetGSeq() uint64
- func (m *GroupFilters) GetOwner() string
- func (m *GroupFilters) GetState() string
- func (m *GroupFilters) Marshal() (dAtA []byte, err error)
- func (m *GroupFilters) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupFilters) ProtoMessage()
- func (m *GroupFilters) Reset()
- func (m *GroupFilters) Size() (n int)
- func (m *GroupFilters) String() string
- func (m *GroupFilters) Unmarshal(dAtA []byte) error
- func (m *GroupFilters) XXX_DiscardUnknown()
- func (m *GroupFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupFilters) XXX_Merge(src proto.Message)
- func (m *GroupFilters) XXX_Size() int
- func (m *GroupFilters) XXX_Unmarshal(b []byte) error
- type GroupLimit
- type GroupLimits
- type GroupSpec
- func (*GroupSpec) Descriptor() ([]byte, []int)
- func (g GroupSpec) Dup() GroupSpec
- func (g GroupSpec) GetName() string
- func (g GroupSpec) GetResourceUnits() ResourceUnits
- func (m *GroupSpec) Marshal() (dAtA []byte, err error)
- func (m *GroupSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (g *GroupSpec) MatchAttributes(at attr.Attributes) bool
- func (g GroupSpec) MatchRequirements(provider []atypes.AuditedProvider) bool
- func (g GroupSpec) MatchResourcesRequirements(pattr attr.Attributes) bool
- func (g GroupSpec) Price() sdk.DecCoin
- func (*GroupSpec) ProtoMessage()
- func (m *GroupSpec) Reset()
- func (m *GroupSpec) Size() (n int)
- func (m *GroupSpec) String() string
- func (m *GroupSpec) Unmarshal(dAtA []byte) error
- func (g GroupSpec) ValidateBasic() error
- func (m *GroupSpec) XXX_DiscardUnknown()
- func (m *GroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupSpec) XXX_Merge(src proto.Message)
- func (m *GroupSpec) XXX_Size() int
- func (m *GroupSpec) XXX_Unmarshal(b []byte) error
- type GroupSpecs
- type Group_State
- type Groups
- type Limits
- type MsgClient
- type MsgCloseDeployment
- func (*MsgCloseDeployment) Descriptor() ([]byte, []int)
- func (m *MsgCloseDeployment) GetID() v1.DeploymentID
- func (msg *MsgCloseDeployment) GetSignBytes() []bytedeprecated
- func (msg *MsgCloseDeployment) GetSigners() []sdk.AccAddress
- func (m *MsgCloseDeployment) Marshal() (dAtA []byte, err error)
- func (m *MsgCloseDeployment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCloseDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCloseDeployment) ProtoMessage()
- func (m *MsgCloseDeployment) Reset()
- func (msg *MsgCloseDeployment) Route() stringdeprecated
- func (m *MsgCloseDeployment) Size() (n int)
- func (m *MsgCloseDeployment) String() string
- func (msg *MsgCloseDeployment) Type() string
- func (m *MsgCloseDeployment) Unmarshal(dAtA []byte) error
- func (msg *MsgCloseDeployment) ValidateBasic() error
- func (m *MsgCloseDeployment) XXX_DiscardUnknown()
- func (m *MsgCloseDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCloseDeployment) XXX_Merge(src proto.Message)
- func (m *MsgCloseDeployment) XXX_Size() int
- func (m *MsgCloseDeployment) XXX_Unmarshal(b []byte) error
- type MsgCloseDeploymentResponse
- func (*MsgCloseDeploymentResponse) Descriptor() ([]byte, []int)
- func (m *MsgCloseDeploymentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCloseDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCloseDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCloseDeploymentResponse) ProtoMessage()
- func (m *MsgCloseDeploymentResponse) Reset()
- func (m *MsgCloseDeploymentResponse) Size() (n int)
- func (m *MsgCloseDeploymentResponse) String() string
- func (m *MsgCloseDeploymentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCloseDeploymentResponse) XXX_DiscardUnknown()
- func (m *MsgCloseDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCloseDeploymentResponse) XXX_Merge(src proto.Message)
- func (m *MsgCloseDeploymentResponse) XXX_Size() int
- func (m *MsgCloseDeploymentResponse) XXX_Unmarshal(b []byte) error
- type MsgCloseGroup
- func (*MsgCloseGroup) Descriptor() ([]byte, []int)
- func (m *MsgCloseGroup) GetID() v1.GroupID
- func (msg *MsgCloseGroup) GetSignBytes() []bytedeprecated
- func (msg *MsgCloseGroup) GetSigners() []sdk.AccAddress
- func (m *MsgCloseGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgCloseGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCloseGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCloseGroup) ProtoMessage()
- func (m *MsgCloseGroup) Reset()
- func (msg *MsgCloseGroup) Route() stringdeprecated
- func (m *MsgCloseGroup) Size() (n int)
- func (m *MsgCloseGroup) String() string
- func (msg *MsgCloseGroup) Type() string
- func (m *MsgCloseGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgCloseGroup) ValidateBasic() error
- func (m *MsgCloseGroup) XXX_DiscardUnknown()
- func (m *MsgCloseGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCloseGroup) XXX_Merge(src proto.Message)
- func (m *MsgCloseGroup) XXX_Size() int
- func (m *MsgCloseGroup) XXX_Unmarshal(b []byte) error
- type MsgCloseGroupResponse
- func (*MsgCloseGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgCloseGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCloseGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCloseGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCloseGroupResponse) ProtoMessage()
- func (m *MsgCloseGroupResponse) Reset()
- func (m *MsgCloseGroupResponse) Size() (n int)
- func (m *MsgCloseGroupResponse) String() string
- func (m *MsgCloseGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCloseGroupResponse) XXX_DiscardUnknown()
- func (m *MsgCloseGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCloseGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgCloseGroupResponse) XXX_Size() int
- func (m *MsgCloseGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateDeployment
- func (*MsgCreateDeployment) Descriptor() ([]byte, []int)
- func (m *MsgCreateDeployment) GetDeposit() types.Coin
- func (m *MsgCreateDeployment) GetDepositor() string
- func (m *MsgCreateDeployment) GetGroups() GroupSpecs
- func (m *MsgCreateDeployment) GetHash() []byte
- func (m *MsgCreateDeployment) GetID() v1.DeploymentID
- func (msg *MsgCreateDeployment) GetSignBytes() []bytedeprecated
- func (msg *MsgCreateDeployment) GetSigners() []sdk.AccAddress
- func (m *MsgCreateDeployment) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDeployment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDeployment) ProtoMessage()
- func (m *MsgCreateDeployment) Reset()
- func (msg *MsgCreateDeployment) Route() stringdeprecated
- func (m *MsgCreateDeployment) Size() (n int)
- func (m *MsgCreateDeployment) String() string
- func (msg *MsgCreateDeployment) Type() string
- func (m *MsgCreateDeployment) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateDeployment) ValidateBasic() error
- func (m *MsgCreateDeployment) XXX_DiscardUnknown()
- func (m *MsgCreateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDeployment) XXX_Merge(src proto.Message)
- func (m *MsgCreateDeployment) XXX_Size() int
- func (m *MsgCreateDeployment) XXX_Unmarshal(b []byte) error
- type MsgCreateDeploymentResponse
- func (*MsgCreateDeploymentResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateDeploymentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDeploymentResponse) ProtoMessage()
- func (m *MsgCreateDeploymentResponse) Reset()
- func (m *MsgCreateDeploymentResponse) Size() (n int)
- func (m *MsgCreateDeploymentResponse) String() string
- func (m *MsgCreateDeploymentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateDeploymentResponse) XXX_DiscardUnknown()
- func (m *MsgCreateDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDeploymentResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateDeploymentResponse) XXX_Size() int
- func (m *MsgCreateDeploymentResponse) XXX_Unmarshal(b []byte) error
- type MsgPauseGroup
- func (*MsgPauseGroup) Descriptor() ([]byte, []int)
- func (m *MsgPauseGroup) GetID() v1.GroupID
- func (msg *MsgPauseGroup) GetSignBytes() []bytedeprecated
- func (msg *MsgPauseGroup) GetSigners() []sdk.AccAddress
- func (m *MsgPauseGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgPauseGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPauseGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPauseGroup) ProtoMessage()
- func (m *MsgPauseGroup) Reset()
- func (msg *MsgPauseGroup) Route() stringdeprecated
- func (m *MsgPauseGroup) Size() (n int)
- func (m *MsgPauseGroup) String() string
- func (msg *MsgPauseGroup) Type() string
- func (m *MsgPauseGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgPauseGroup) ValidateBasic() error
- func (m *MsgPauseGroup) XXX_DiscardUnknown()
- func (m *MsgPauseGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPauseGroup) XXX_Merge(src proto.Message)
- func (m *MsgPauseGroup) XXX_Size() int
- func (m *MsgPauseGroup) XXX_Unmarshal(b []byte) error
- type MsgPauseGroupResponse
- func (*MsgPauseGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgPauseGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPauseGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPauseGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPauseGroupResponse) ProtoMessage()
- func (m *MsgPauseGroupResponse) Reset()
- func (m *MsgPauseGroupResponse) Size() (n int)
- func (m *MsgPauseGroupResponse) String() string
- func (m *MsgPauseGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPauseGroupResponse) XXX_DiscardUnknown()
- func (m *MsgPauseGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPauseGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgPauseGroupResponse) XXX_Size() int
- func (m *MsgPauseGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStartGroup
- func (*MsgStartGroup) Descriptor() ([]byte, []int)
- func (m *MsgStartGroup) GetID() v1.GroupID
- func (msg *MsgStartGroup) GetSignBytes() []bytedeprecated
- func (msg *MsgStartGroup) GetSigners() []sdk.AccAddress
- func (m *MsgStartGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgStartGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStartGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStartGroup) ProtoMessage()
- func (m *MsgStartGroup) Reset()
- func (msg *MsgStartGroup) Route() stringdeprecated
- func (m *MsgStartGroup) Size() (n int)
- func (m *MsgStartGroup) String() string
- func (msg *MsgStartGroup) Type() string
- func (m *MsgStartGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgStartGroup) ValidateBasic() error
- func (m *MsgStartGroup) XXX_DiscardUnknown()
- func (m *MsgStartGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStartGroup) XXX_Merge(src proto.Message)
- func (m *MsgStartGroup) XXX_Size() int
- func (m *MsgStartGroup) XXX_Unmarshal(b []byte) error
- type MsgStartGroupResponse
- func (*MsgStartGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgStartGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStartGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStartGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStartGroupResponse) ProtoMessage()
- func (m *MsgStartGroupResponse) Reset()
- func (m *MsgStartGroupResponse) Size() (n int)
- func (m *MsgStartGroupResponse) String() string
- func (m *MsgStartGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStartGroupResponse) XXX_DiscardUnknown()
- func (m *MsgStartGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStartGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgStartGroupResponse) XXX_Size() int
- func (m *MsgStartGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateDeployment
- func (*MsgUpdateDeployment) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDeployment) GetHash() []byte
- func (m *MsgUpdateDeployment) GetID() v1.DeploymentID
- func (msg MsgUpdateDeployment) GetSignBytes() []bytedeprecated
- func (msg *MsgUpdateDeployment) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateDeployment) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDeployment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDeployment) ProtoMessage()
- func (m *MsgUpdateDeployment) Reset()
- func (msg *MsgUpdateDeployment) Route() stringdeprecated
- func (m *MsgUpdateDeployment) Size() (n int)
- func (m *MsgUpdateDeployment) String() string
- func (msg *MsgUpdateDeployment) Type() string
- func (m *MsgUpdateDeployment) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateDeployment) ValidateBasic() error
- func (m *MsgUpdateDeployment) XXX_DiscardUnknown()
- func (m *MsgUpdateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDeployment) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDeployment) XXX_Size() int
- func (m *MsgUpdateDeployment) XXX_Unmarshal(b []byte) error
- type MsgUpdateDeploymentResponse
- func (*MsgUpdateDeploymentResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDeploymentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDeploymentResponse) ProtoMessage()
- func (m *MsgUpdateDeploymentResponse) Reset()
- func (m *MsgUpdateDeploymentResponse) Size() (n int)
- func (m *MsgUpdateDeploymentResponse) String() string
- func (m *MsgUpdateDeploymentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateDeploymentResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDeploymentResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDeploymentResponse) XXX_Size() int
- func (m *MsgUpdateDeploymentResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) GetSignBytes() []byte
- func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMinDeposits() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p Params) MinDepositFor(denom string) (sdk.Coin, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (p Params) ValidateDeposit(amt sdk.Coin) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDeploymentRequest
- func (*QueryDeploymentRequest) Descriptor() ([]byte, []int)
- func (m *QueryDeploymentRequest) GetID() v1.DeploymentID
- func (m *QueryDeploymentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDeploymentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeploymentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeploymentRequest) ProtoMessage()
- func (m *QueryDeploymentRequest) Reset()
- func (m *QueryDeploymentRequest) Size() (n int)
- func (m *QueryDeploymentRequest) String() string
- func (m *QueryDeploymentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDeploymentRequest) XXX_DiscardUnknown()
- func (m *QueryDeploymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeploymentRequest) XXX_Merge(src proto.Message)
- func (m *QueryDeploymentRequest) XXX_Size() int
- func (m *QueryDeploymentRequest) XXX_Unmarshal(b []byte) error
- type QueryDeploymentResponse
- func (*QueryDeploymentResponse) Descriptor() ([]byte, []int)
- func (m *QueryDeploymentResponse) GetDeployment() v1.Deployment
- func (m *QueryDeploymentResponse) GetEscrowAccount() v11.Account
- func (m *QueryDeploymentResponse) GetGroups() Groups
- func (m *QueryDeploymentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeploymentResponse) ProtoMessage()
- func (m *QueryDeploymentResponse) Reset()
- func (m *QueryDeploymentResponse) Size() (n int)
- func (m *QueryDeploymentResponse) String() string
- func (m *QueryDeploymentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDeploymentResponse) XXX_DiscardUnknown()
- func (m *QueryDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeploymentResponse) XXX_Merge(src proto.Message)
- func (m *QueryDeploymentResponse) XXX_Size() int
- func (m *QueryDeploymentResponse) XXX_Unmarshal(b []byte) error
- type QueryDeploymentsRequest
- func (*QueryDeploymentsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDeploymentsRequest) GetFilters() DeploymentFilters
- func (m *QueryDeploymentsRequest) GetPagination() *query.PageRequest
- func (m *QueryDeploymentsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDeploymentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeploymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeploymentsRequest) ProtoMessage()
- func (m *QueryDeploymentsRequest) Reset()
- func (m *QueryDeploymentsRequest) Size() (n int)
- func (m *QueryDeploymentsRequest) String() string
- func (m *QueryDeploymentsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDeploymentsRequest) XXX_DiscardUnknown()
- func (m *QueryDeploymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeploymentsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDeploymentsRequest) XXX_Size() int
- func (m *QueryDeploymentsRequest) XXX_Unmarshal(b []byte) error
- type QueryDeploymentsResponse
- func (*QueryDeploymentsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDeploymentsResponse) GetDeployments() DeploymentResponses
- func (m *QueryDeploymentsResponse) GetPagination() *query.PageResponse
- func (m *QueryDeploymentsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDeploymentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeploymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeploymentsResponse) ProtoMessage()
- func (m *QueryDeploymentsResponse) Reset()
- func (m *QueryDeploymentsResponse) Size() (n int)
- func (m *QueryDeploymentsResponse) String() string
- func (m *QueryDeploymentsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDeploymentsResponse) XXX_DiscardUnknown()
- func (m *QueryDeploymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeploymentsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDeploymentsResponse) XXX_Size() int
- func (m *QueryDeploymentsResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupRequest
- func (*QueryGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupRequest) GetID() v1.GroupID
- func (m *QueryGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupRequest) ProtoMessage()
- func (m *QueryGroupRequest) Reset()
- func (m *QueryGroupRequest) Size() (n int)
- func (m *QueryGroupRequest) String() string
- func (m *QueryGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupRequest) XXX_DiscardUnknown()
- func (m *QueryGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupRequest) XXX_Size() int
- func (m *QueryGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupResponse
- func (*QueryGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupResponse) GetGroup() Group
- func (m *QueryGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupResponse) ProtoMessage()
- func (m *QueryGroupResponse) Reset()
- func (m *QueryGroupResponse) Size() (n int)
- func (m *QueryGroupResponse) String() string
- func (m *QueryGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupResponse) XXX_DiscardUnknown()
- func (m *QueryGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupResponse) XXX_Size() int
- func (m *QueryGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type ResourceGroup
- type ResourceUnit
- func (*ResourceUnit) Descriptor() ([]byte, []int)
- func (r *ResourceUnit) Dup() ResourceUnit
- func (this *ResourceUnit) Equal(that interface{}) bool
- func (r *ResourceUnit) FullPrice() sdk.DecCoin
- func (m *ResourceUnit) GetCount() uint32
- func (m *ResourceUnit) GetPrice() types.DecCoin
- func (m *ResourceUnit) Marshal() (dAtA []byte, err error)
- func (m *ResourceUnit) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceUnit) ProtoMessage()
- func (m *ResourceUnit) Reset()
- func (m *ResourceUnit) Size() (n int)
- func (m *ResourceUnit) String() string
- func (m *ResourceUnit) Unmarshal(dAtA []byte) error
- func (m *ResourceUnit) XXX_DiscardUnknown()
- func (m *ResourceUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceUnit) XXX_Merge(src proto.Message)
- func (m *ResourceUnit) XXX_Size() int
- func (m *ResourceUnit) XXX_Unmarshal(b []byte) error
- type ResourceUnits
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CloseDeployment(ctx context.Context, req *MsgCloseDeployment) (*MsgCloseDeploymentResponse, error)
- func (*UnimplementedMsgServer) CloseGroup(ctx context.Context, req *MsgCloseGroup) (*MsgCloseGroupResponse, error)
- func (*UnimplementedMsgServer) CreateDeployment(ctx context.Context, req *MsgCreateDeployment) (*MsgCreateDeploymentResponse, error)
- func (*UnimplementedMsgServer) DepositDeployment(ctx context.Context, req *v1.MsgDepositDeployment) (*v1.MsgDepositDeploymentResponse, error)
- func (*UnimplementedMsgServer) PauseGroup(ctx context.Context, req *MsgPauseGroup) (*MsgPauseGroupResponse, error)
- func (*UnimplementedMsgServer) StartGroup(ctx context.Context, req *MsgStartGroup) (*MsgStartGroupResponse, error)
- func (*UnimplementedMsgServer) UpdateDeployment(ctx context.Context, req *MsgUpdateDeployment) (*MsgUpdateDeploymentResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Deployment(ctx context.Context, req *QueryDeploymentRequest) (*QueryDeploymentResponse, error)
- func (*UnimplementedQueryServer) Deployments(ctx context.Context, req *QueryDeploymentsRequest) (*QueryDeploymentsResponse, error)
- func (*UnimplementedQueryServer) Group(ctx context.Context, req *QueryGroupRequest) (*QueryGroupResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnitLimits
- type ValidationConfig
Constants ¶
const ( GatewayVersion = "v1beta4" // ManifestHashLength is the length of manifest hash ManifestHashLength = 32 // DefaultOrderBiddingDuration is the default time limit for an Order being active. // After the duration, the Order is automatically closed. // ( 24(hr) * 3600(seconds per hour) ) / 7s-Block DefaultOrderBiddingDuration = int64(12342) // MaxBiddingDuration is roughly 30 days of block height MaxBiddingDuration = DefaultOrderBiddingDuration * int64(30) )
const (
EscrowScope = "deployment"
)
Variables ¶
var ( ErrInvalidLengthDeploymentmsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDeploymentmsg = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDeploymentmsg = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthFilters = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFilters = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFilters = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGroup = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGroup = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGroup = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGroupmsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGroupmsg = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGroupmsg = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGroupspec = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGroupspec = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGroupspec = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParamsmsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParamsmsg = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParamsmsg = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrNoGroupsPresent = errors.New("validation: no groups present") ErrGroupEmptyName = errors.New("validation: group has empty name") )
var ( ErrInvalidLengthResourceunit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowResourceunit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupResourceunit = fmt.Errorf("proto: unexpected end of group") )
var Group_State_name = map[int32]string{
0: "invalid",
1: "open",
2: "paused",
3: "insufficient_funds",
4: "closed",
}
var Group_State_value = map[string]int32{
"invalid": 0,
"open": 1,
"paused": 2,
"insufficient_funds": 3,
"closed": 4,
}
var ( // ModuleCdc references the global x/deployment module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/deployment and // defined at the application level. // // Deprecated: ModuleCdc use is deprecated ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
Functions ¶
func DeploymentIDFromEscrowAccount ¶
func DeploymentIDFromEscrowAccount(id etypes.AccountID) (v1.DeploymentID, bool)
func DeploymentPath ¶
func DeploymentPath(id types.DeploymentID) string
DeploymentPath return deployment path of given deployment id for queries
func EscrowAccountForDeployment ¶
func EscrowAccountForDeployment(id v1.DeploymentID) etypes.AccountID
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
func ParseGroupPath ¶
ParseGroupPath returns GroupID details with provided queries, and return error if occurred due to wrong query
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers the x/deployment interfaces types with the interface registry
func RegisterLegacyAminoCodec
deprecated
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec register concrete types on codec
Deprecated: RegisterLegacyAminoCodec is deprecated
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type DeploymentFilters ¶
type DeploymentFilters struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"` DSeq uint64 `protobuf:"varint,2,opt,name=dseq,proto3" json:"dseq" yaml:"dseq"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state" yaml:"state"` }
DeploymentFilters defines filters used to filter deployments
func (DeploymentFilters) Accept ¶
func (filters DeploymentFilters) Accept(obj v1.Deployment, stateVal v1.Deployment_State) bool
Accept returns whether deployment filters valid or not
func (*DeploymentFilters) Descriptor ¶
func (*DeploymentFilters) Descriptor() ([]byte, []int)
func (*DeploymentFilters) GetDSeq ¶
func (m *DeploymentFilters) GetDSeq() uint64
func (*DeploymentFilters) GetOwner ¶
func (m *DeploymentFilters) GetOwner() string
func (*DeploymentFilters) GetState ¶
func (m *DeploymentFilters) GetState() string
func (*DeploymentFilters) Marshal ¶
func (m *DeploymentFilters) Marshal() (dAtA []byte, err error)
func (*DeploymentFilters) MarshalTo ¶
func (m *DeploymentFilters) MarshalTo(dAtA []byte) (int, error)
func (*DeploymentFilters) MarshalToSizedBuffer ¶
func (m *DeploymentFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeploymentFilters) ProtoMessage ¶
func (*DeploymentFilters) ProtoMessage()
func (*DeploymentFilters) Reset ¶
func (m *DeploymentFilters) Reset()
func (*DeploymentFilters) Size ¶
func (m *DeploymentFilters) Size() (n int)
func (*DeploymentFilters) String ¶
func (m *DeploymentFilters) String() string
func (*DeploymentFilters) Unmarshal ¶
func (m *DeploymentFilters) Unmarshal(dAtA []byte) error
func (*DeploymentFilters) XXX_DiscardUnknown ¶
func (m *DeploymentFilters) XXX_DiscardUnknown()
func (*DeploymentFilters) XXX_Marshal ¶
func (m *DeploymentFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeploymentFilters) XXX_Merge ¶
func (m *DeploymentFilters) XXX_Merge(src proto.Message)
func (*DeploymentFilters) XXX_Size ¶
func (m *DeploymentFilters) XXX_Size() int
func (*DeploymentFilters) XXX_Unmarshal ¶
func (m *DeploymentFilters) XXX_Unmarshal(b []byte) error
type DeploymentResponses ¶
type DeploymentResponses []QueryDeploymentResponse
DeploymentResponses is a collection of DeploymentResponse
func (DeploymentResponses) String ¶
func (ds DeploymentResponses) String() string
type GenesisDeployment ¶
type GenesisDeployment struct { Deployment v1.Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment" yaml:"deployment"` Groups Groups `protobuf:"bytes,2,rep,name=groups,proto3,castrepeated=Groups" json:"groups" yaml:"groups"` }
GenesisDeployment defines the basic genesis state used by deployment module
func (*GenesisDeployment) Descriptor ¶
func (*GenesisDeployment) Descriptor() ([]byte, []int)
func (*GenesisDeployment) GetDeployment ¶
func (m *GenesisDeployment) GetDeployment() v1.Deployment
func (*GenesisDeployment) GetGroups ¶
func (m *GenesisDeployment) GetGroups() Groups
func (*GenesisDeployment) Marshal ¶
func (m *GenesisDeployment) Marshal() (dAtA []byte, err error)
func (*GenesisDeployment) MarshalTo ¶
func (m *GenesisDeployment) MarshalTo(dAtA []byte) (int, error)
func (*GenesisDeployment) MarshalToSizedBuffer ¶
func (m *GenesisDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisDeployment) ProtoMessage ¶
func (*GenesisDeployment) ProtoMessage()
func (*GenesisDeployment) Reset ¶
func (m *GenesisDeployment) Reset()
func (*GenesisDeployment) Size ¶
func (m *GenesisDeployment) Size() (n int)
func (*GenesisDeployment) String ¶
func (m *GenesisDeployment) String() string
func (*GenesisDeployment) Unmarshal ¶
func (m *GenesisDeployment) Unmarshal(dAtA []byte) error
func (*GenesisDeployment) XXX_DiscardUnknown ¶
func (m *GenesisDeployment) XXX_DiscardUnknown()
func (*GenesisDeployment) XXX_Marshal ¶
func (m *GenesisDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisDeployment) XXX_Merge ¶
func (m *GenesisDeployment) XXX_Merge(src proto.Message)
func (*GenesisDeployment) XXX_Size ¶
func (m *GenesisDeployment) XXX_Size() int
func (*GenesisDeployment) XXX_Unmarshal ¶
func (m *GenesisDeployment) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Deployments []GenesisDeployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments" yaml:"deployments"` Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params" yaml:"params"` }
GenesisState stores slice of genesis deployment instance
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDeployments ¶
func (m *GenesisState) GetDeployments() []GenesisDeployment
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Group ¶
type Group struct { ID v1.GroupID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"` State Group_State `protobuf:"varint,2,opt,name=state,proto3,enum=akash.deployment.v1beta4.Group_State" json:"state" yaml:"state"` GroupSpec GroupSpec `protobuf:"bytes,3,opt,name=group_spec,json=groupSpec,proto3,castrepeated=GroupSpecs" json:"spec" yaml:"spec"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` }
Group stores group id, state and specifications of group
func (Group) GetResourceUnits ¶
func (g Group) GetResourceUnits() ResourceUnits
GetResourceUnits method returns resources list in group
func (*Group) GetState ¶
func (m *Group) GetState() Group_State
func (Group) ValidateClosable ¶
ValidateClosable provides error response if group is already closed, and thus should not be closed again, else nil.
func (Group) ValidatePausable ¶
ValidatePausable provides error response if group is not pausable
func (Group) ValidateStartable ¶
ValidatePausable provides error response if group is not pausable
func (*Group) XXX_Marshal ¶
type GroupFilters ¶
type GroupFilters struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"` DSeq uint64 `protobuf:"varint,2,opt,name=dseq,proto3" json:"dseq" yaml:"dseq"` GSeq uint64 `protobuf:"varint,3,opt,name=gseq,proto3" json:"gseq" yaml:"gseq"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state" yaml:"state"` }
GroupFilters defines filters used to filter groups
func (*GroupFilters) Descriptor ¶
func (*GroupFilters) Descriptor() ([]byte, []int)
func (*GroupFilters) GetDSeq ¶
func (m *GroupFilters) GetDSeq() uint64
func (*GroupFilters) GetGSeq ¶
func (m *GroupFilters) GetGSeq() uint64
func (*GroupFilters) GetOwner ¶
func (m *GroupFilters) GetOwner() string
func (*GroupFilters) GetState ¶
func (m *GroupFilters) GetState() string
func (*GroupFilters) Marshal ¶
func (m *GroupFilters) Marshal() (dAtA []byte, err error)
func (*GroupFilters) MarshalTo ¶
func (m *GroupFilters) MarshalTo(dAtA []byte) (int, error)
func (*GroupFilters) MarshalToSizedBuffer ¶
func (m *GroupFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupFilters) ProtoMessage ¶
func (*GroupFilters) ProtoMessage()
func (*GroupFilters) Reset ¶
func (m *GroupFilters) Reset()
func (*GroupFilters) Size ¶
func (m *GroupFilters) Size() (n int)
func (*GroupFilters) String ¶
func (m *GroupFilters) String() string
func (*GroupFilters) Unmarshal ¶
func (m *GroupFilters) Unmarshal(dAtA []byte) error
func (*GroupFilters) XXX_DiscardUnknown ¶
func (m *GroupFilters) XXX_DiscardUnknown()
func (*GroupFilters) XXX_Marshal ¶
func (m *GroupFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupFilters) XXX_Merge ¶
func (m *GroupFilters) XXX_Merge(src proto.Message)
func (*GroupFilters) XXX_Size ¶
func (m *GroupFilters) XXX_Size() int
func (*GroupFilters) XXX_Unmarshal ¶
func (m *GroupFilters) XXX_Unmarshal(b []byte) error
type GroupLimits ¶
type GroupLimits struct {
Max GroupLimit
}
type GroupSpec ¶
type GroupSpec struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" yaml:"name"` Requirements v1.PlacementRequirements `protobuf:"bytes,2,opt,name=requirements,proto3" json:"requirements" yaml:"requirements"` Resources ResourceUnits `protobuf:"bytes,3,rep,name=resources,proto3,castrepeated=ResourceUnits" json:"resources" yaml:"resources"` }
Spec stores group specifications
func (GroupSpec) GetResourceUnits ¶
func (g GroupSpec) GetResourceUnits() ResourceUnits
GetResourceUnits method returns resources list in group
func (*GroupSpec) MarshalToSizedBuffer ¶
func (*GroupSpec) MatchAttributes ¶
func (g *GroupSpec) MatchAttributes(at attr.Attributes) bool
MatchAttributes method compares provided attributes with specific group attributes
func (GroupSpec) MatchRequirements ¶
func (g GroupSpec) MatchRequirements(provider []atypes.AuditedProvider) bool
MatchRequirements method compares provided attributes with specific group attributes. Argument provider is a bit cumbersome. First element is attributes from x/provider store in case tenant does not need signed attributes at all rest of elements (if any) are attributes signed by various auditors
func (GroupSpec) MatchResourcesRequirements ¶
func (g GroupSpec) MatchResourcesRequirements(pattr attr.Attributes) bool
MatchResourcesRequirements check if resources attributes match provider's capabilities
func (GroupSpec) ValidateBasic ¶
ValidateBasic asserts non-zero values
func (*GroupSpec) XXX_Marshal ¶
type GroupSpecs ¶
type GroupSpecs []GroupSpec
func (GroupSpecs) Dup ¶
func (gspecs GroupSpecs) Dup() GroupSpecs
type Group_State ¶
type Group_State int32
State is an enum which refers to state of group
const ( // Prefix should start with 0 in enum. So declaring dummy state GroupStateInvalid Group_State = 0 // GroupOpen denotes state for group open GroupOpen Group_State = 1 // GroupOrdered denotes state for group ordered GroupPaused Group_State = 2 // GroupInsufficientFunds denotes state for group insufficient_funds GroupInsufficientFunds Group_State = 3 // GroupClosed denotes state for group closed GroupClosed Group_State = 4 )
func (Group_State) EnumDescriptor ¶
func (Group_State) EnumDescriptor() ([]byte, []int)
func (Group_State) String ¶
func (x Group_State) String() string
type Limits ¶
type MsgClient ¶
type MsgClient interface { // CreateDeployment defines a method to create new deployment given proper inputs. CreateDeployment(ctx context.Context, in *MsgCreateDeployment, opts ...grpc.CallOption) (*MsgCreateDeploymentResponse, error) // DepositDeployment deposits more funds into the deployment account DepositDeployment(ctx context.Context, in *v1.MsgDepositDeployment, opts ...grpc.CallOption) (*v1.MsgDepositDeploymentResponse, error) // UpdateDeployment defines a method to update a deployment given proper inputs. UpdateDeployment(ctx context.Context, in *MsgUpdateDeployment, opts ...grpc.CallOption) (*MsgUpdateDeploymentResponse, error) // CloseDeployment defines a method to close a deployment given proper inputs. CloseDeployment(ctx context.Context, in *MsgCloseDeployment, opts ...grpc.CallOption) (*MsgCloseDeploymentResponse, error) // CloseGroup defines a method to close a group of a deployment given proper inputs. CloseGroup(ctx context.Context, in *MsgCloseGroup, opts ...grpc.CallOption) (*MsgCloseGroupResponse, error) // PauseGroup defines a method to close a group of a deployment given proper inputs. PauseGroup(ctx context.Context, in *MsgPauseGroup, opts ...grpc.CallOption) (*MsgPauseGroupResponse, error) // StartGroup defines a method to close a group of a deployment given proper inputs. StartGroup(ctx context.Context, in *MsgStartGroup, opts ...grpc.CallOption) (*MsgStartGroupResponse, error) // UpdateParams defines a governance operation for updating the x/deployment module // parameters. The authority is hard-coded to the x/gov module account. // // Since: akash v1.0.0 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCloseDeployment ¶
type MsgCloseDeployment struct {
ID v1.DeploymentID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
MsgCloseDeployment defines an SDK message for closing deployment
func NewMsgCloseDeployment ¶
func NewMsgCloseDeployment(id v1.DeploymentID) *MsgCloseDeployment
NewMsgCloseDeployment creates a new MsgCloseDeployment instance
func (*MsgCloseDeployment) Descriptor ¶
func (*MsgCloseDeployment) Descriptor() ([]byte, []int)
func (*MsgCloseDeployment) GetID ¶
func (m *MsgCloseDeployment) GetID() v1.DeploymentID
func (*MsgCloseDeployment) GetSignBytes
deprecated
func (msg *MsgCloseDeployment) GetSignBytes() []byte
GetSignBytes encodes the message for signing
Deprecated: GetSignBytes is deprecated
func (*MsgCloseDeployment) GetSigners ¶
func (msg *MsgCloseDeployment) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCloseDeployment) Marshal ¶
func (m *MsgCloseDeployment) Marshal() (dAtA []byte, err error)
func (*MsgCloseDeployment) MarshalTo ¶
func (m *MsgCloseDeployment) MarshalTo(dAtA []byte) (int, error)
func (*MsgCloseDeployment) MarshalToSizedBuffer ¶
func (m *MsgCloseDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCloseDeployment) ProtoMessage ¶
func (*MsgCloseDeployment) ProtoMessage()
func (*MsgCloseDeployment) Reset ¶
func (m *MsgCloseDeployment) Reset()
func (*MsgCloseDeployment) Route
deprecated
func (msg *MsgCloseDeployment) Route() string
Route implements the sdk.Msg interface
Deprecated: Route is deprecated
func (*MsgCloseDeployment) Size ¶
func (m *MsgCloseDeployment) Size() (n int)
func (*MsgCloseDeployment) String ¶
func (m *MsgCloseDeployment) String() string
func (*MsgCloseDeployment) Type ¶
func (msg *MsgCloseDeployment) Type() string
Type implements the sdk.Msg interface
func (*MsgCloseDeployment) Unmarshal ¶
func (m *MsgCloseDeployment) Unmarshal(dAtA []byte) error
func (*MsgCloseDeployment) ValidateBasic ¶
func (msg *MsgCloseDeployment) ValidateBasic() error
ValidateBasic does basic validation with deployment details
func (*MsgCloseDeployment) XXX_DiscardUnknown ¶
func (m *MsgCloseDeployment) XXX_DiscardUnknown()
func (*MsgCloseDeployment) XXX_Marshal ¶
func (m *MsgCloseDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCloseDeployment) XXX_Merge ¶
func (m *MsgCloseDeployment) XXX_Merge(src proto.Message)
func (*MsgCloseDeployment) XXX_Size ¶
func (m *MsgCloseDeployment) XXX_Size() int
func (*MsgCloseDeployment) XXX_Unmarshal ¶
func (m *MsgCloseDeployment) XXX_Unmarshal(b []byte) error
type MsgCloseDeploymentResponse ¶
type MsgCloseDeploymentResponse struct { }
MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
func (*MsgCloseDeploymentResponse) Descriptor ¶
func (*MsgCloseDeploymentResponse) Descriptor() ([]byte, []int)
func (*MsgCloseDeploymentResponse) Marshal ¶
func (m *MsgCloseDeploymentResponse) Marshal() (dAtA []byte, err error)
func (*MsgCloseDeploymentResponse) MarshalTo ¶
func (m *MsgCloseDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCloseDeploymentResponse) MarshalToSizedBuffer ¶
func (m *MsgCloseDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCloseDeploymentResponse) ProtoMessage ¶
func (*MsgCloseDeploymentResponse) ProtoMessage()
func (*MsgCloseDeploymentResponse) Reset ¶
func (m *MsgCloseDeploymentResponse) Reset()
func (*MsgCloseDeploymentResponse) Size ¶
func (m *MsgCloseDeploymentResponse) Size() (n int)
func (*MsgCloseDeploymentResponse) String ¶
func (m *MsgCloseDeploymentResponse) String() string
func (*MsgCloseDeploymentResponse) Unmarshal ¶
func (m *MsgCloseDeploymentResponse) Unmarshal(dAtA []byte) error
func (*MsgCloseDeploymentResponse) XXX_DiscardUnknown ¶
func (m *MsgCloseDeploymentResponse) XXX_DiscardUnknown()
func (*MsgCloseDeploymentResponse) XXX_Marshal ¶
func (m *MsgCloseDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCloseDeploymentResponse) XXX_Merge ¶
func (m *MsgCloseDeploymentResponse) XXX_Merge(src proto.Message)
func (*MsgCloseDeploymentResponse) XXX_Size ¶
func (m *MsgCloseDeploymentResponse) XXX_Size() int
func (*MsgCloseDeploymentResponse) XXX_Unmarshal ¶
func (m *MsgCloseDeploymentResponse) XXX_Unmarshal(b []byte) error
type MsgCloseGroup ¶
type MsgCloseGroup struct {
ID v1.GroupID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
MsgCloseGroup defines SDK message to close a single Group within a Deployment.
func NewMsgCloseGroup ¶
func NewMsgCloseGroup(id v1.GroupID) *MsgCloseGroup
NewMsgCloseGroup creates a new MsgCloseGroup instance
func (*MsgCloseGroup) Descriptor ¶
func (*MsgCloseGroup) Descriptor() ([]byte, []int)
func (*MsgCloseGroup) GetID ¶
func (m *MsgCloseGroup) GetID() v1.GroupID
func (*MsgCloseGroup) GetSignBytes
deprecated
func (msg *MsgCloseGroup) GetSignBytes() []byte
GetSignBytes encodes the message for signing
Deprecated: GetSignBytes is deprecated
func (*MsgCloseGroup) GetSigners ¶
func (msg *MsgCloseGroup) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCloseGroup) Marshal ¶
func (m *MsgCloseGroup) Marshal() (dAtA []byte, err error)
func (*MsgCloseGroup) MarshalTo ¶
func (m *MsgCloseGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgCloseGroup) MarshalToSizedBuffer ¶
func (m *MsgCloseGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCloseGroup) ProtoMessage ¶
func (*MsgCloseGroup) ProtoMessage()
func (*MsgCloseGroup) Reset ¶
func (m *MsgCloseGroup) Reset()
func (*MsgCloseGroup) Route
deprecated
func (msg *MsgCloseGroup) Route() string
Route implements the sdk.Msg interface for routing
Deprecated: Route is deprecated
func (*MsgCloseGroup) Size ¶
func (m *MsgCloseGroup) Size() (n int)
func (*MsgCloseGroup) String ¶
func (m *MsgCloseGroup) String() string
func (*MsgCloseGroup) Type ¶
func (msg *MsgCloseGroup) Type() string
Type implements the sdk.Msg interface exposing message type
func (*MsgCloseGroup) Unmarshal ¶
func (m *MsgCloseGroup) Unmarshal(dAtA []byte) error
func (*MsgCloseGroup) ValidateBasic ¶
func (msg *MsgCloseGroup) ValidateBasic() error
ValidateBasic calls underlying GroupID.Validate() check and returns result
func (*MsgCloseGroup) XXX_DiscardUnknown ¶
func (m *MsgCloseGroup) XXX_DiscardUnknown()
func (*MsgCloseGroup) XXX_Marshal ¶
func (m *MsgCloseGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCloseGroup) XXX_Merge ¶
func (m *MsgCloseGroup) XXX_Merge(src proto.Message)
func (*MsgCloseGroup) XXX_Size ¶
func (m *MsgCloseGroup) XXX_Size() int
func (*MsgCloseGroup) XXX_Unmarshal ¶
func (m *MsgCloseGroup) XXX_Unmarshal(b []byte) error
type MsgCloseGroupResponse ¶
type MsgCloseGroupResponse struct { }
MsgCloseGroupResponse defines the Msg/CloseGroup response type.
func (*MsgCloseGroupResponse) Descriptor ¶
func (*MsgCloseGroupResponse) Descriptor() ([]byte, []int)
func (*MsgCloseGroupResponse) Marshal ¶
func (m *MsgCloseGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgCloseGroupResponse) MarshalTo ¶
func (m *MsgCloseGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCloseGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgCloseGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCloseGroupResponse) ProtoMessage ¶
func (*MsgCloseGroupResponse) ProtoMessage()
func (*MsgCloseGroupResponse) Reset ¶
func (m *MsgCloseGroupResponse) Reset()
func (*MsgCloseGroupResponse) Size ¶
func (m *MsgCloseGroupResponse) Size() (n int)
func (*MsgCloseGroupResponse) String ¶
func (m *MsgCloseGroupResponse) String() string
func (*MsgCloseGroupResponse) Unmarshal ¶
func (m *MsgCloseGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgCloseGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgCloseGroupResponse) XXX_DiscardUnknown()
func (*MsgCloseGroupResponse) XXX_Marshal ¶
func (m *MsgCloseGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCloseGroupResponse) XXX_Merge ¶
func (m *MsgCloseGroupResponse) XXX_Merge(src proto.Message)
func (*MsgCloseGroupResponse) XXX_Size ¶
func (m *MsgCloseGroupResponse) XXX_Size() int
func (*MsgCloseGroupResponse) XXX_Unmarshal ¶
func (m *MsgCloseGroupResponse) XXX_Unmarshal(b []byte) error
type MsgCreateDeployment ¶
type MsgCreateDeployment struct { ID v1.DeploymentID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"` Groups GroupSpecs `protobuf:"bytes,2,rep,name=groups,proto3,castrepeated=GroupSpecs" json:"groups" yaml:"groups"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash" yaml:"hash"` Deposit types.Coin `protobuf:"bytes,4,opt,name=deposit,proto3" json:"deposit" yaml:"deposit"` // Depositor pays for the deposit Depositor string `protobuf:"bytes,5,opt,name=depositor,proto3" json:"depositor" yaml:"depositor"` }
MsgCreateDeployment defines an SDK message for creating deployment
func NewMsgCreateDeployment ¶
func NewMsgCreateDeployment(id v1.DeploymentID, groups []GroupSpec, hash []byte, deposit sdk.Coin, depositor sdk.AccAddress) *MsgCreateDeployment
NewMsgCreateDeployment creates a new MsgCreateDeployment instance
func (*MsgCreateDeployment) Descriptor ¶
func (*MsgCreateDeployment) Descriptor() ([]byte, []int)
func (*MsgCreateDeployment) GetDeposit ¶
func (m *MsgCreateDeployment) GetDeposit() types.Coin
func (*MsgCreateDeployment) GetDepositor ¶
func (m *MsgCreateDeployment) GetDepositor() string
func (*MsgCreateDeployment) GetGroups ¶
func (m *MsgCreateDeployment) GetGroups() GroupSpecs
func (*MsgCreateDeployment) GetHash ¶
func (m *MsgCreateDeployment) GetHash() []byte
func (*MsgCreateDeployment) GetID ¶
func (m *MsgCreateDeployment) GetID() v1.DeploymentID
func (*MsgCreateDeployment) GetSignBytes
deprecated
func (msg *MsgCreateDeployment) GetSignBytes() []byte
GetSignBytes encodes the message for signing
Deprecated: GetSignBytes is deprecated
func (*MsgCreateDeployment) GetSigners ¶
func (msg *MsgCreateDeployment) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCreateDeployment) Marshal ¶
func (m *MsgCreateDeployment) Marshal() (dAtA []byte, err error)
func (*MsgCreateDeployment) MarshalTo ¶
func (m *MsgCreateDeployment) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDeployment) MarshalToSizedBuffer ¶
func (m *MsgCreateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDeployment) ProtoMessage ¶
func (*MsgCreateDeployment) ProtoMessage()
func (*MsgCreateDeployment) Reset ¶
func (m *MsgCreateDeployment) Reset()
func (*MsgCreateDeployment) Route
deprecated
func (msg *MsgCreateDeployment) Route() string
Route implements the sdk.Msg interface
Deprecated: Route is deprecated
func (*MsgCreateDeployment) Size ¶
func (m *MsgCreateDeployment) Size() (n int)
func (*MsgCreateDeployment) String ¶
func (m *MsgCreateDeployment) String() string
func (*MsgCreateDeployment) Type ¶
func (msg *MsgCreateDeployment) Type() string
Type implements the sdk.Msg interface
func (*MsgCreateDeployment) Unmarshal ¶
func (m *MsgCreateDeployment) Unmarshal(dAtA []byte) error
func (*MsgCreateDeployment) ValidateBasic ¶
func (msg *MsgCreateDeployment) ValidateBasic() error
ValidateBasic does basic validation like check owner and groups length
func (*MsgCreateDeployment) XXX_DiscardUnknown ¶
func (m *MsgCreateDeployment) XXX_DiscardUnknown()
func (*MsgCreateDeployment) XXX_Marshal ¶
func (m *MsgCreateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDeployment) XXX_Merge ¶
func (m *MsgCreateDeployment) XXX_Merge(src proto.Message)
func (*MsgCreateDeployment) XXX_Size ¶
func (m *MsgCreateDeployment) XXX_Size() int
func (*MsgCreateDeployment) XXX_Unmarshal ¶
func (m *MsgCreateDeployment) XXX_Unmarshal(b []byte) error
type MsgCreateDeploymentResponse ¶
type MsgCreateDeploymentResponse struct { }
MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
func (*MsgCreateDeploymentResponse) Descriptor ¶
func (*MsgCreateDeploymentResponse) Descriptor() ([]byte, []int)
func (*MsgCreateDeploymentResponse) Marshal ¶
func (m *MsgCreateDeploymentResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateDeploymentResponse) MarshalTo ¶
func (m *MsgCreateDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDeploymentResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDeploymentResponse) ProtoMessage ¶
func (*MsgCreateDeploymentResponse) ProtoMessage()
func (*MsgCreateDeploymentResponse) Reset ¶
func (m *MsgCreateDeploymentResponse) Reset()
func (*MsgCreateDeploymentResponse) Size ¶
func (m *MsgCreateDeploymentResponse) Size() (n int)
func (*MsgCreateDeploymentResponse) String ¶
func (m *MsgCreateDeploymentResponse) String() string
func (*MsgCreateDeploymentResponse) Unmarshal ¶
func (m *MsgCreateDeploymentResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateDeploymentResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateDeploymentResponse) XXX_DiscardUnknown()
func (*MsgCreateDeploymentResponse) XXX_Marshal ¶
func (m *MsgCreateDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDeploymentResponse) XXX_Merge ¶
func (m *MsgCreateDeploymentResponse) XXX_Merge(src proto.Message)
func (*MsgCreateDeploymentResponse) XXX_Size ¶
func (m *MsgCreateDeploymentResponse) XXX_Size() int
func (*MsgCreateDeploymentResponse) XXX_Unmarshal ¶
func (m *MsgCreateDeploymentResponse) XXX_Unmarshal(b []byte) error
type MsgPauseGroup ¶
type MsgPauseGroup struct {
ID v1.GroupID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
MsgPauseGroup defines SDK message to close a single Group within a Deployment.
func NewMsgPauseGroup ¶
func NewMsgPauseGroup(id v1.GroupID) *MsgPauseGroup
NewMsgPauseGroup creates a new MsgPauseGroup instance
func (*MsgPauseGroup) Descriptor ¶
func (*MsgPauseGroup) Descriptor() ([]byte, []int)
func (*MsgPauseGroup) GetID ¶
func (m *MsgPauseGroup) GetID() v1.GroupID
func (*MsgPauseGroup) GetSignBytes
deprecated
func (msg *MsgPauseGroup) GetSignBytes() []byte
GetSignBytes encodes the message for signing
Deprecated: GetSignBytes is deprecated
func (*MsgPauseGroup) GetSigners ¶
func (msg *MsgPauseGroup) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgPauseGroup) Marshal ¶
func (m *MsgPauseGroup) Marshal() (dAtA []byte, err error)
func (*MsgPauseGroup) MarshalTo ¶
func (m *MsgPauseGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgPauseGroup) MarshalToSizedBuffer ¶
func (m *MsgPauseGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPauseGroup) ProtoMessage ¶
func (*MsgPauseGroup) ProtoMessage()
func (*MsgPauseGroup) Reset ¶
func (m *MsgPauseGroup) Reset()
func (*MsgPauseGroup) Route
deprecated
func (msg *MsgPauseGroup) Route() string
Route implements the sdk.Msg interface for routing
Deprecated: Route is deprecated
func (*MsgPauseGroup) Size ¶
func (m *MsgPauseGroup) Size() (n int)
func (*MsgPauseGroup) String ¶
func (m *MsgPauseGroup) String() string
func (*MsgPauseGroup) Type ¶
func (msg *MsgPauseGroup) Type() string
Type implements the sdk.Msg interface exposing message type
func (*MsgPauseGroup) Unmarshal ¶
func (m *MsgPauseGroup) Unmarshal(dAtA []byte) error
func (*MsgPauseGroup) ValidateBasic ¶
func (msg *MsgPauseGroup) ValidateBasic() error
ValidateBasic calls underlying GroupID.Validate() check and returns result
func (*MsgPauseGroup) XXX_DiscardUnknown ¶
func (m *MsgPauseGroup) XXX_DiscardUnknown()
func (*MsgPauseGroup) XXX_Marshal ¶
func (m *MsgPauseGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPauseGroup) XXX_Merge ¶
func (m *MsgPauseGroup) XXX_Merge(src proto.Message)
func (*MsgPauseGroup) XXX_Size ¶
func (m *MsgPauseGroup) XXX_Size() int
func (*MsgPauseGroup) XXX_Unmarshal ¶
func (m *MsgPauseGroup) XXX_Unmarshal(b []byte) error
type MsgPauseGroupResponse ¶
type MsgPauseGroupResponse struct { }
MsgPauseGroupResponse defines the Msg/PauseGroup response type.
func (*MsgPauseGroupResponse) Descriptor ¶
func (*MsgPauseGroupResponse) Descriptor() ([]byte, []int)
func (*MsgPauseGroupResponse) Marshal ¶
func (m *MsgPauseGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgPauseGroupResponse) MarshalTo ¶
func (m *MsgPauseGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPauseGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgPauseGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPauseGroupResponse) ProtoMessage ¶
func (*MsgPauseGroupResponse) ProtoMessage()
func (*MsgPauseGroupResponse) Reset ¶
func (m *MsgPauseGroupResponse) Reset()
func (*MsgPauseGroupResponse) Size ¶
func (m *MsgPauseGroupResponse) Size() (n int)
func (*MsgPauseGroupResponse) String ¶
func (m *MsgPauseGroupResponse) String() string
func (*MsgPauseGroupResponse) Unmarshal ¶
func (m *MsgPauseGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgPauseGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgPauseGroupResponse) XXX_DiscardUnknown()
func (*MsgPauseGroupResponse) XXX_Marshal ¶
func (m *MsgPauseGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPauseGroupResponse) XXX_Merge ¶
func (m *MsgPauseGroupResponse) XXX_Merge(src proto.Message)
func (*MsgPauseGroupResponse) XXX_Size ¶
func (m *MsgPauseGroupResponse) XXX_Size() int
func (*MsgPauseGroupResponse) XXX_Unmarshal ¶
func (m *MsgPauseGroupResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateDeployment defines a method to create new deployment given proper inputs. CreateDeployment(context.Context, *MsgCreateDeployment) (*MsgCreateDeploymentResponse, error) // DepositDeployment deposits more funds into the deployment account DepositDeployment(context.Context, *v1.MsgDepositDeployment) (*v1.MsgDepositDeploymentResponse, error) // UpdateDeployment defines a method to update a deployment given proper inputs. UpdateDeployment(context.Context, *MsgUpdateDeployment) (*MsgUpdateDeploymentResponse, error) // CloseDeployment defines a method to close a deployment given proper inputs. CloseDeployment(context.Context, *MsgCloseDeployment) (*MsgCloseDeploymentResponse, error) // CloseGroup defines a method to close a group of a deployment given proper inputs. CloseGroup(context.Context, *MsgCloseGroup) (*MsgCloseGroupResponse, error) // PauseGroup defines a method to close a group of a deployment given proper inputs. PauseGroup(context.Context, *MsgPauseGroup) (*MsgPauseGroupResponse, error) // StartGroup defines a method to close a group of a deployment given proper inputs. StartGroup(context.Context, *MsgStartGroup) (*MsgStartGroupResponse, error) // UpdateParams defines a governance operation for updating the x/deployment module // parameters. The authority is hard-coded to the x/gov module account. // // Since: akash v1.0.0 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgStartGroup ¶
type MsgStartGroup struct {
ID v1.GroupID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"`
}
MsgStartGroup defines SDK message to close a single Group within a Deployment.
func NewMsgStartGroup ¶
func NewMsgStartGroup(id v1.GroupID) *MsgStartGroup
NewMsgStartGroup creates a new MsgStartGroup instance
func (*MsgStartGroup) Descriptor ¶
func (*MsgStartGroup) Descriptor() ([]byte, []int)
func (*MsgStartGroup) GetID ¶
func (m *MsgStartGroup) GetID() v1.GroupID
func (*MsgStartGroup) GetSignBytes
deprecated
func (msg *MsgStartGroup) GetSignBytes() []byte
GetSignBytes encodes the message for signing
Deprecated: GetSignBytes is deprecated
func (*MsgStartGroup) GetSigners ¶
func (msg *MsgStartGroup) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgStartGroup) Marshal ¶
func (m *MsgStartGroup) Marshal() (dAtA []byte, err error)
func (*MsgStartGroup) MarshalTo ¶
func (m *MsgStartGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgStartGroup) MarshalToSizedBuffer ¶
func (m *MsgStartGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStartGroup) ProtoMessage ¶
func (*MsgStartGroup) ProtoMessage()
func (*MsgStartGroup) Reset ¶
func (m *MsgStartGroup) Reset()
func (*MsgStartGroup) Route
deprecated
func (msg *MsgStartGroup) Route() string
Route implements the sdk.Msg interface for routing
Deprecated: Route is deprecated
func (*MsgStartGroup) Size ¶
func (m *MsgStartGroup) Size() (n int)
func (*MsgStartGroup) String ¶
func (m *MsgStartGroup) String() string
func (*MsgStartGroup) Type ¶
func (msg *MsgStartGroup) Type() string
Type implements the sdk.Msg interface exposing message type
func (*MsgStartGroup) Unmarshal ¶
func (m *MsgStartGroup) Unmarshal(dAtA []byte) error
func (*MsgStartGroup) ValidateBasic ¶
func (msg *MsgStartGroup) ValidateBasic() error
ValidateBasic calls underlying GroupID.Validate() check and returns result
func (*MsgStartGroup) XXX_DiscardUnknown ¶
func (m *MsgStartGroup) XXX_DiscardUnknown()
func (*MsgStartGroup) XXX_Marshal ¶
func (m *MsgStartGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStartGroup) XXX_Merge ¶
func (m *MsgStartGroup) XXX_Merge(src proto.Message)
func (*MsgStartGroup) XXX_Size ¶
func (m *MsgStartGroup) XXX_Size() int
func (*MsgStartGroup) XXX_Unmarshal ¶
func (m *MsgStartGroup) XXX_Unmarshal(b []byte) error
type MsgStartGroupResponse ¶
type MsgStartGroupResponse struct { }
MsgStartGroupResponse defines the Msg/StartGroup response type.
func (*MsgStartGroupResponse) Descriptor ¶
func (*MsgStartGroupResponse) Descriptor() ([]byte, []int)
func (*MsgStartGroupResponse) Marshal ¶
func (m *MsgStartGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgStartGroupResponse) MarshalTo ¶
func (m *MsgStartGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStartGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgStartGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStartGroupResponse) ProtoMessage ¶
func (*MsgStartGroupResponse) ProtoMessage()
func (*MsgStartGroupResponse) Reset ¶
func (m *MsgStartGroupResponse) Reset()
func (*MsgStartGroupResponse) Size ¶
func (m *MsgStartGroupResponse) Size() (n int)
func (*MsgStartGroupResponse) String ¶
func (m *MsgStartGroupResponse) String() string
func (*MsgStartGroupResponse) Unmarshal ¶
func (m *MsgStartGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgStartGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgStartGroupResponse) XXX_DiscardUnknown()
func (*MsgStartGroupResponse) XXX_Marshal ¶
func (m *MsgStartGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStartGroupResponse) XXX_Merge ¶
func (m *MsgStartGroupResponse) XXX_Merge(src proto.Message)
func (*MsgStartGroupResponse) XXX_Size ¶
func (m *MsgStartGroupResponse) XXX_Size() int
func (*MsgStartGroupResponse) XXX_Unmarshal ¶
func (m *MsgStartGroupResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateDeployment ¶
type MsgUpdateDeployment struct { ID v1.DeploymentID `protobuf:"bytes,1,opt,name=id,proto3" json:"id" yaml:"id"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash" yaml:"hash"` }
MsgUpdateDeployment defines an SDK message for updating deployment
func NewMsgUpdateDeployment ¶
func NewMsgUpdateDeployment(id v1.DeploymentID, version []byte) *MsgUpdateDeployment
NewMsgUpdateDeployment creates a new MsgUpdateDeployment instance
func (*MsgUpdateDeployment) Descriptor ¶
func (*MsgUpdateDeployment) Descriptor() ([]byte, []int)
func (*MsgUpdateDeployment) GetHash ¶
func (m *MsgUpdateDeployment) GetHash() []byte
func (*MsgUpdateDeployment) GetID ¶
func (m *MsgUpdateDeployment) GetID() v1.DeploymentID
func (MsgUpdateDeployment) GetSignBytes
deprecated
func (msg MsgUpdateDeployment) GetSignBytes() []byte
GetSignBytes encodes the message for signing
Deprecated: GetSignBytes is deprecated
func (*MsgUpdateDeployment) GetSigners ¶
func (msg *MsgUpdateDeployment) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUpdateDeployment) Marshal ¶
func (m *MsgUpdateDeployment) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDeployment) MarshalTo ¶
func (m *MsgUpdateDeployment) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDeployment) MarshalToSizedBuffer ¶
func (m *MsgUpdateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDeployment) ProtoMessage ¶
func (*MsgUpdateDeployment) ProtoMessage()
func (*MsgUpdateDeployment) Reset ¶
func (m *MsgUpdateDeployment) Reset()
func (*MsgUpdateDeployment) Route
deprecated
func (msg *MsgUpdateDeployment) Route() string
Route implements the sdk.Msg interface
Deprecated: Route is deprecated
func (*MsgUpdateDeployment) Size ¶
func (m *MsgUpdateDeployment) Size() (n int)
func (*MsgUpdateDeployment) String ¶
func (m *MsgUpdateDeployment) String() string
func (*MsgUpdateDeployment) Type ¶
func (msg *MsgUpdateDeployment) Type() string
Type implements the sdk.Msg interface
func (*MsgUpdateDeployment) Unmarshal ¶
func (m *MsgUpdateDeployment) Unmarshal(dAtA []byte) error
func (*MsgUpdateDeployment) ValidateBasic ¶
func (msg *MsgUpdateDeployment) ValidateBasic() error
ValidateBasic does basic validation
func (*MsgUpdateDeployment) XXX_DiscardUnknown ¶
func (m *MsgUpdateDeployment) XXX_DiscardUnknown()
func (*MsgUpdateDeployment) XXX_Marshal ¶
func (m *MsgUpdateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDeployment) XXX_Merge ¶
func (m *MsgUpdateDeployment) XXX_Merge(src proto.Message)
func (*MsgUpdateDeployment) XXX_Size ¶
func (m *MsgUpdateDeployment) XXX_Size() int
func (*MsgUpdateDeployment) XXX_Unmarshal ¶
func (m *MsgUpdateDeployment) XXX_Unmarshal(b []byte) error
type MsgUpdateDeploymentResponse ¶
type MsgUpdateDeploymentResponse struct { }
MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
func (*MsgUpdateDeploymentResponse) Descriptor ¶
func (*MsgUpdateDeploymentResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateDeploymentResponse) Marshal ¶
func (m *MsgUpdateDeploymentResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDeploymentResponse) MarshalTo ¶
func (m *MsgUpdateDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDeploymentResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDeploymentResponse) ProtoMessage ¶
func (*MsgUpdateDeploymentResponse) ProtoMessage()
func (*MsgUpdateDeploymentResponse) Reset ¶
func (m *MsgUpdateDeploymentResponse) Reset()
func (*MsgUpdateDeploymentResponse) Size ¶
func (m *MsgUpdateDeploymentResponse) Size() (n int)
func (*MsgUpdateDeploymentResponse) String ¶
func (m *MsgUpdateDeploymentResponse) String() string
func (*MsgUpdateDeploymentResponse) Unmarshal ¶
func (m *MsgUpdateDeploymentResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateDeploymentResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateDeploymentResponse) XXX_DiscardUnknown()
func (*MsgUpdateDeploymentResponse) XXX_Marshal ¶
func (m *MsgUpdateDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDeploymentResponse) XXX_Merge ¶
func (m *MsgUpdateDeploymentResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateDeploymentResponse) XXX_Size ¶
func (m *MsgUpdateDeploymentResponse) XXX_Size() int
func (*MsgUpdateDeploymentResponse) XXX_Unmarshal ¶
func (m *MsgUpdateDeploymentResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/deployment parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: akash v1.0.0
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶
func (m *MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.// // Deprecated: GetSignBytes is deprecated
func (*MsgUpdateParams) GetSigners ¶
func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (m *MsgUpdateParams) Type() string
Type implements the sdk.Msg interface exposing message type
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: akash v1.0.0
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
MinDeposits github_com_cosmos_cosmos_sdk_types.Coins `` /* 158-byte string literal not displayed */
}
Params defines the parameters for the x/deployment module
func (*Params) GetMinDeposits ¶
func (m *Params) GetMinDeposits() github_com_cosmos_cosmos_sdk_types.Coins
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
func (*Params) XXX_Marshal ¶
type QueryClient ¶
type QueryClient interface { // Deployments queries deployments Deployments(ctx context.Context, in *QueryDeploymentsRequest, opts ...grpc.CallOption) (*QueryDeploymentsResponse, error) // Deployment queries deployment details Deployment(ctx context.Context, in *QueryDeploymentRequest, opts ...grpc.CallOption) (*QueryDeploymentResponse, error) // Group queries group details Group(ctx context.Context, in *QueryGroupRequest, opts ...grpc.CallOption) (*QueryGroupResponse, error) // Params returns the total set of minting parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryDeploymentRequest ¶
type QueryDeploymentRequest struct {
ID v1.DeploymentID `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
}
QueryDeploymentRequest is request type for the Query/Deployment RPC method
func (*QueryDeploymentRequest) Descriptor ¶
func (*QueryDeploymentRequest) Descriptor() ([]byte, []int)
func (*QueryDeploymentRequest) GetID ¶
func (m *QueryDeploymentRequest) GetID() v1.DeploymentID
func (*QueryDeploymentRequest) Marshal ¶
func (m *QueryDeploymentRequest) Marshal() (dAtA []byte, err error)
func (*QueryDeploymentRequest) MarshalTo ¶
func (m *QueryDeploymentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeploymentRequest) MarshalToSizedBuffer ¶
func (m *QueryDeploymentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeploymentRequest) ProtoMessage ¶
func (*QueryDeploymentRequest) ProtoMessage()
func (*QueryDeploymentRequest) Reset ¶
func (m *QueryDeploymentRequest) Reset()
func (*QueryDeploymentRequest) Size ¶
func (m *QueryDeploymentRequest) Size() (n int)
func (*QueryDeploymentRequest) String ¶
func (m *QueryDeploymentRequest) String() string
func (*QueryDeploymentRequest) Unmarshal ¶
func (m *QueryDeploymentRequest) Unmarshal(dAtA []byte) error
func (*QueryDeploymentRequest) XXX_DiscardUnknown ¶
func (m *QueryDeploymentRequest) XXX_DiscardUnknown()
func (*QueryDeploymentRequest) XXX_Marshal ¶
func (m *QueryDeploymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeploymentRequest) XXX_Merge ¶
func (m *QueryDeploymentRequest) XXX_Merge(src proto.Message)
func (*QueryDeploymentRequest) XXX_Size ¶
func (m *QueryDeploymentRequest) XXX_Size() int
func (*QueryDeploymentRequest) XXX_Unmarshal ¶
func (m *QueryDeploymentRequest) XXX_Unmarshal(b []byte) error
type QueryDeploymentResponse ¶
type QueryDeploymentResponse struct { Deployment v1.Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment" yaml:"deployment"` Groups Groups `protobuf:"bytes,2,rep,name=groups,proto3,castrepeated=Groups" json:"groups" yaml:"groups"` EscrowAccount v11.Account `protobuf:"bytes,3,opt,name=escrow_account,json=escrowAccount,proto3" json:"escrow_account"` }
QueryDeploymentResponse is response type for the Query/Deployment RPC method
func (*QueryDeploymentResponse) Descriptor ¶
func (*QueryDeploymentResponse) Descriptor() ([]byte, []int)
func (*QueryDeploymentResponse) GetDeployment ¶
func (m *QueryDeploymentResponse) GetDeployment() v1.Deployment
func (*QueryDeploymentResponse) GetEscrowAccount ¶
func (m *QueryDeploymentResponse) GetEscrowAccount() v11.Account
func (*QueryDeploymentResponse) GetGroups ¶
func (m *QueryDeploymentResponse) GetGroups() Groups
func (*QueryDeploymentResponse) Marshal ¶
func (m *QueryDeploymentResponse) Marshal() (dAtA []byte, err error)
func (*QueryDeploymentResponse) MarshalTo ¶
func (m *QueryDeploymentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeploymentResponse) MarshalToSizedBuffer ¶
func (m *QueryDeploymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeploymentResponse) ProtoMessage ¶
func (*QueryDeploymentResponse) ProtoMessage()
func (*QueryDeploymentResponse) Reset ¶
func (m *QueryDeploymentResponse) Reset()
func (*QueryDeploymentResponse) Size ¶
func (m *QueryDeploymentResponse) Size() (n int)
func (*QueryDeploymentResponse) String ¶
func (m *QueryDeploymentResponse) String() string
func (*QueryDeploymentResponse) Unmarshal ¶
func (m *QueryDeploymentResponse) Unmarshal(dAtA []byte) error
func (*QueryDeploymentResponse) XXX_DiscardUnknown ¶
func (m *QueryDeploymentResponse) XXX_DiscardUnknown()
func (*QueryDeploymentResponse) XXX_Marshal ¶
func (m *QueryDeploymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeploymentResponse) XXX_Merge ¶
func (m *QueryDeploymentResponse) XXX_Merge(src proto.Message)
func (*QueryDeploymentResponse) XXX_Size ¶
func (m *QueryDeploymentResponse) XXX_Size() int
func (*QueryDeploymentResponse) XXX_Unmarshal ¶
func (m *QueryDeploymentResponse) XXX_Unmarshal(b []byte) error
type QueryDeploymentsRequest ¶
type QueryDeploymentsRequest struct { Filters DeploymentFilters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDeploymentsRequest is request type for the Query/Deployments RPC method
func (*QueryDeploymentsRequest) Descriptor ¶
func (*QueryDeploymentsRequest) Descriptor() ([]byte, []int)
func (*QueryDeploymentsRequest) GetFilters ¶
func (m *QueryDeploymentsRequest) GetFilters() DeploymentFilters
func (*QueryDeploymentsRequest) GetPagination ¶
func (m *QueryDeploymentsRequest) GetPagination() *query.PageRequest
func (*QueryDeploymentsRequest) Marshal ¶
func (m *QueryDeploymentsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDeploymentsRequest) MarshalTo ¶
func (m *QueryDeploymentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeploymentsRequest) MarshalToSizedBuffer ¶
func (m *QueryDeploymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeploymentsRequest) ProtoMessage ¶
func (*QueryDeploymentsRequest) ProtoMessage()
func (*QueryDeploymentsRequest) Reset ¶
func (m *QueryDeploymentsRequest) Reset()
func (*QueryDeploymentsRequest) Size ¶
func (m *QueryDeploymentsRequest) Size() (n int)
func (*QueryDeploymentsRequest) String ¶
func (m *QueryDeploymentsRequest) String() string
func (*QueryDeploymentsRequest) Unmarshal ¶
func (m *QueryDeploymentsRequest) Unmarshal(dAtA []byte) error
func (*QueryDeploymentsRequest) XXX_DiscardUnknown ¶
func (m *QueryDeploymentsRequest) XXX_DiscardUnknown()
func (*QueryDeploymentsRequest) XXX_Marshal ¶
func (m *QueryDeploymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeploymentsRequest) XXX_Merge ¶
func (m *QueryDeploymentsRequest) XXX_Merge(src proto.Message)
func (*QueryDeploymentsRequest) XXX_Size ¶
func (m *QueryDeploymentsRequest) XXX_Size() int
func (*QueryDeploymentsRequest) XXX_Unmarshal ¶
func (m *QueryDeploymentsRequest) XXX_Unmarshal(b []byte) error
type QueryDeploymentsResponse ¶
type QueryDeploymentsResponse struct { Deployments DeploymentResponses `protobuf:"bytes,1,rep,name=deployments,proto3,castrepeated=DeploymentResponses" json:"deployments"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDeploymentsResponse is response type for the Query/Deployments RPC method
func (*QueryDeploymentsResponse) Descriptor ¶
func (*QueryDeploymentsResponse) Descriptor() ([]byte, []int)
func (*QueryDeploymentsResponse) GetDeployments ¶
func (m *QueryDeploymentsResponse) GetDeployments() DeploymentResponses
func (*QueryDeploymentsResponse) GetPagination ¶
func (m *QueryDeploymentsResponse) GetPagination() *query.PageResponse
func (*QueryDeploymentsResponse) Marshal ¶
func (m *QueryDeploymentsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDeploymentsResponse) MarshalTo ¶
func (m *QueryDeploymentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeploymentsResponse) MarshalToSizedBuffer ¶
func (m *QueryDeploymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeploymentsResponse) ProtoMessage ¶
func (*QueryDeploymentsResponse) ProtoMessage()
func (*QueryDeploymentsResponse) Reset ¶
func (m *QueryDeploymentsResponse) Reset()
func (*QueryDeploymentsResponse) Size ¶
func (m *QueryDeploymentsResponse) Size() (n int)
func (*QueryDeploymentsResponse) String ¶
func (m *QueryDeploymentsResponse) String() string
func (*QueryDeploymentsResponse) Unmarshal ¶
func (m *QueryDeploymentsResponse) Unmarshal(dAtA []byte) error
func (*QueryDeploymentsResponse) XXX_DiscardUnknown ¶
func (m *QueryDeploymentsResponse) XXX_DiscardUnknown()
func (*QueryDeploymentsResponse) XXX_Marshal ¶
func (m *QueryDeploymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeploymentsResponse) XXX_Merge ¶
func (m *QueryDeploymentsResponse) XXX_Merge(src proto.Message)
func (*QueryDeploymentsResponse) XXX_Size ¶
func (m *QueryDeploymentsResponse) XXX_Size() int
func (*QueryDeploymentsResponse) XXX_Unmarshal ¶
func (m *QueryDeploymentsResponse) XXX_Unmarshal(b []byte) error
type QueryGroupRequest ¶
QueryGroupRequest is request type for the Query/Group RPC method
func (*QueryGroupRequest) Descriptor ¶
func (*QueryGroupRequest) Descriptor() ([]byte, []int)
func (*QueryGroupRequest) GetID ¶
func (m *QueryGroupRequest) GetID() v1.GroupID
func (*QueryGroupRequest) Marshal ¶
func (m *QueryGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupRequest) MarshalTo ¶
func (m *QueryGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupRequest) ProtoMessage ¶
func (*QueryGroupRequest) ProtoMessage()
func (*QueryGroupRequest) Reset ¶
func (m *QueryGroupRequest) Reset()
func (*QueryGroupRequest) Size ¶
func (m *QueryGroupRequest) Size() (n int)
func (*QueryGroupRequest) String ¶
func (m *QueryGroupRequest) String() string
func (*QueryGroupRequest) Unmarshal ¶
func (m *QueryGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupRequest) XXX_DiscardUnknown()
func (*QueryGroupRequest) XXX_Marshal ¶
func (m *QueryGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupRequest) XXX_Merge ¶
func (m *QueryGroupRequest) XXX_Merge(src proto.Message)
func (*QueryGroupRequest) XXX_Size ¶
func (m *QueryGroupRequest) XXX_Size() int
func (*QueryGroupRequest) XXX_Unmarshal ¶
func (m *QueryGroupRequest) XXX_Unmarshal(b []byte) error
type QueryGroupResponse ¶
type QueryGroupResponse struct {
Group Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
}
QueryGroupResponse is response type for the Query/Group RPC method
func (*QueryGroupResponse) Descriptor ¶
func (*QueryGroupResponse) Descriptor() ([]byte, []int)
func (*QueryGroupResponse) GetGroup ¶
func (m *QueryGroupResponse) GetGroup() Group
func (*QueryGroupResponse) Marshal ¶
func (m *QueryGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupResponse) MarshalTo ¶
func (m *QueryGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupResponse) ProtoMessage ¶
func (*QueryGroupResponse) ProtoMessage()
func (*QueryGroupResponse) Reset ¶
func (m *QueryGroupResponse) Reset()
func (*QueryGroupResponse) Size ¶
func (m *QueryGroupResponse) Size() (n int)
func (*QueryGroupResponse) String ¶
func (m *QueryGroupResponse) String() string
func (*QueryGroupResponse) Unmarshal ¶
func (m *QueryGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupResponse) XXX_DiscardUnknown()
func (*QueryGroupResponse) XXX_Marshal ¶
func (m *QueryGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupResponse) XXX_Merge ¶
func (m *QueryGroupResponse) XXX_Merge(src proto.Message)
func (*QueryGroupResponse) XXX_Size ¶
func (m *QueryGroupResponse) XXX_Size() int
func (*QueryGroupResponse) XXX_Unmarshal ¶
func (m *QueryGroupResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Deployments queries deployments Deployments(context.Context, *QueryDeploymentsRequest) (*QueryDeploymentsResponse, error) // Deployment queries deployment details Deployment(context.Context, *QueryDeploymentRequest) (*QueryDeploymentResponse, error) // Group queries group details Group(context.Context, *QueryGroupRequest) (*QueryGroupResponse, error) // Params returns the total set of minting parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type ResourceGroup ¶
type ResourceGroup interface { GetName() string GetResourceUnits() ResourceUnits }
type ResourceUnit ¶
type ResourceUnit struct { v1beta4.Resources `protobuf:"bytes,1,opt,name=resource,proto3,embedded=resource" json:"resource" yaml:"resource"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count" yaml:"count"` Price types.DecCoin `protobuf:"bytes,3,opt,name=price,proto3" json:"price" yaml:"price"` }
ResourceUnit extends Resources and adds Count along with the Price
func (*ResourceUnit) Descriptor ¶
func (*ResourceUnit) Descriptor() ([]byte, []int)
func (*ResourceUnit) Dup ¶
func (r *ResourceUnit) Dup() ResourceUnit
func (*ResourceUnit) Equal ¶
func (this *ResourceUnit) Equal(that interface{}) bool
func (*ResourceUnit) FullPrice ¶
func (r *ResourceUnit) FullPrice() sdk.DecCoin
FullPrice method returns full price of resource
func (*ResourceUnit) GetCount ¶
func (m *ResourceUnit) GetCount() uint32
func (*ResourceUnit) GetPrice ¶
func (m *ResourceUnit) GetPrice() types.DecCoin
func (*ResourceUnit) Marshal ¶
func (m *ResourceUnit) Marshal() (dAtA []byte, err error)
func (*ResourceUnit) MarshalTo ¶
func (m *ResourceUnit) MarshalTo(dAtA []byte) (int, error)
func (*ResourceUnit) MarshalToSizedBuffer ¶
func (m *ResourceUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceUnit) ProtoMessage ¶
func (*ResourceUnit) ProtoMessage()
func (*ResourceUnit) Reset ¶
func (m *ResourceUnit) Reset()
func (*ResourceUnit) Size ¶
func (m *ResourceUnit) Size() (n int)
func (*ResourceUnit) String ¶
func (m *ResourceUnit) String() string
func (*ResourceUnit) Unmarshal ¶
func (m *ResourceUnit) Unmarshal(dAtA []byte) error
func (*ResourceUnit) XXX_DiscardUnknown ¶
func (m *ResourceUnit) XXX_DiscardUnknown()
func (*ResourceUnit) XXX_Marshal ¶
func (m *ResourceUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceUnit) XXX_Merge ¶
func (m *ResourceUnit) XXX_Merge(src proto.Message)
func (*ResourceUnit) XXX_Size ¶
func (m *ResourceUnit) XXX_Size() int
func (*ResourceUnit) XXX_Unmarshal ¶
func (m *ResourceUnit) XXX_Unmarshal(b []byte) error
type ResourceUnits ¶
type ResourceUnits []ResourceUnit
func (ResourceUnits) Dup ¶
func (s ResourceUnits) Dup() ResourceUnits
func (ResourceUnits) Len ¶
func (s ResourceUnits) Len() int
func (ResourceUnits) Less ¶
func (s ResourceUnits) Less(i, j int) bool
func (ResourceUnits) Swap ¶
func (s ResourceUnits) Swap(i, j int)
func (ResourceUnits) Validate ¶
func (s ResourceUnits) Validate() error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CloseDeployment ¶
func (*UnimplementedMsgServer) CloseDeployment(ctx context.Context, req *MsgCloseDeployment) (*MsgCloseDeploymentResponse, error)
func (*UnimplementedMsgServer) CloseGroup ¶
func (*UnimplementedMsgServer) CloseGroup(ctx context.Context, req *MsgCloseGroup) (*MsgCloseGroupResponse, error)
func (*UnimplementedMsgServer) CreateDeployment ¶
func (*UnimplementedMsgServer) CreateDeployment(ctx context.Context, req *MsgCreateDeployment) (*MsgCreateDeploymentResponse, error)
func (*UnimplementedMsgServer) DepositDeployment ¶
func (*UnimplementedMsgServer) DepositDeployment(ctx context.Context, req *v1.MsgDepositDeployment) (*v1.MsgDepositDeploymentResponse, error)
func (*UnimplementedMsgServer) PauseGroup ¶
func (*UnimplementedMsgServer) PauseGroup(ctx context.Context, req *MsgPauseGroup) (*MsgPauseGroupResponse, error)
func (*UnimplementedMsgServer) StartGroup ¶
func (*UnimplementedMsgServer) StartGroup(ctx context.Context, req *MsgStartGroup) (*MsgStartGroupResponse, error)
func (*UnimplementedMsgServer) UpdateDeployment ¶
func (*UnimplementedMsgServer) UpdateDeployment(ctx context.Context, req *MsgUpdateDeployment) (*MsgUpdateDeploymentResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Deployment ¶
func (*UnimplementedQueryServer) Deployment(ctx context.Context, req *QueryDeploymentRequest) (*QueryDeploymentResponse, error)
func (*UnimplementedQueryServer) Deployments ¶
func (*UnimplementedQueryServer) Deployments(ctx context.Context, req *QueryDeploymentsRequest) (*QueryDeploymentsResponse, error)
func (*UnimplementedQueryServer) Group ¶
func (*UnimplementedQueryServer) Group(ctx context.Context, req *QueryGroupRequest) (*QueryGroupResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type ValidationConfig ¶
type ValidationConfig struct { Unit UnitLimits Group GroupLimits }
func GetValidationConfig ¶
func GetValidationConfig() ValidationConfig
Source Files ¶
- codec.go
- deploymentmsg.pb.go
- escrow.go
- filters.pb.go
- genesis.pb.go
- group.go
- group.pb.go
- group_validation.go
- groupmsg.pb.go
- groupspec.go
- groupspec.pb.go
- msgs.go
- params.go
- params.pb.go
- paramsmsg.pb.go
- path.go
- query.pb.go
- query.pb.gw.go
- resource_list_validation.go
- resourcelimits.go
- resourceunit.go
- resourceunit.pb.go
- resourceunits.go
- service.pb.go
- types.go
- validation_config.go