v1beta1

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ModuleName is the module name constant used in many places
	ModuleName = "provider"

	// StoreKey is the store key string for provider
	StoreKey = ModuleName

	// RouterKey is the message route for provider
	RouterKey = ModuleName
)
View Source
const (
	MsgTypeCreateProvider = "create-provider"
	MsgTypeUpdateProvider = "update-provider"
	MsgTypeDeleteProvider = "delete-provider"
)

Variables

View Source
var (
	// ErrInvalidProviderURI register error code for invalid provider uri
	ErrInvalidProviderURI = errors.New("invalid provider: invalid host uri")

	// ErrNotAbsProviderURI register error code for not absolute provider uri
	ErrNotAbsProviderURI = errors.New("invalid provider: not absolute host uri")

	// ErrInvalidInfoWebsite register error code for invalid info website
	ErrInvalidInfoWebsite = errors.New("invalid provider: invalid info website")
)
View Source
var (
	ErrInvalidStorageClass  = errors.New("provider: invalid storage class")
	ErrUnsupportedAttribute = errors.New("provider: unsupported attribute")
)
View Source
var (
	ErrInvalidLengthProvider        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProvider          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProvider = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (

	// ModuleCdc references the global x/provider 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/provider and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)

Functions

func ParseEVProvider

func ParseEVProvider(attrs []sdk.Attribute) (sdk.AccAddress, error)

ParseEVProvider returns provider details for given event attributes

func ParseEvent

func ParseEvent(ev sdkutil.Event) (sdkutil.ModuleEvent, error)

ParseEvent parses event and returns details of event and error if occurred TODO: Enable returning actual events.

func ProviderEVAttributes

func ProviderEVAttributes(owner sdk.AccAddress) []sdk.Attribute

ProviderEVAttributes returns event attribues for given Provider

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces registers the x/provider interfaces types with the interface registry

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterCodec register concrete types on codec

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

Types

type EventProviderCreated

type EventProviderCreated struct {
	Context sdkutil.BaseModuleEvent `json:"context"`
	Owner   sdk.AccAddress          `json:"owner"`
}

EventProviderCreated struct

func NewEventProviderCreated

func NewEventProviderCreated(owner sdk.AccAddress) EventProviderCreated

func (EventProviderCreated) ToSDKEvent

func (ev EventProviderCreated) ToSDKEvent() sdk.Event

ToSDKEvent method creates new sdk event for EventProviderCreated struct

type EventProviderDeleted

type EventProviderDeleted struct {
	Context sdkutil.BaseModuleEvent `json:"context"`
	Owner   sdk.AccAddress          `json:"owner"`
}

EventProviderDeleted struct

func NewEventProviderDeleted

func NewEventProviderDeleted(owner sdk.AccAddress) EventProviderDeleted

func (EventProviderDeleted) ToSDKEvent

func (ev EventProviderDeleted) ToSDKEvent() sdk.Event

ToSDKEvent method creates new sdk event for EventProviderDeleted struct

type EventProviderUpdated

type EventProviderUpdated struct {
	Context sdkutil.BaseModuleEvent `json:"context"`
	Owner   sdk.AccAddress          `json:"owner"`
}

EventProviderUpdated struct

func NewEventProviderUpdated

func NewEventProviderUpdated(owner sdk.AccAddress) EventProviderUpdated

func (EventProviderUpdated) ToSDKEvent

func (ev EventProviderUpdated) ToSDKEvent() sdk.Event

ToSDKEvent method creates new sdk event for EventProviderUpdated struct

type MsgClient

type MsgClient interface {
	// CreateProvider defines a method that creates a provider given the proper inputs
	CreateProvider(ctx context.Context, in *MsgCreateProvider, opts ...grpc.CallOption) (*MsgCreateProviderResponse, error)
	// UpdateProvider defines a method that updates a provider given the proper inputs
	UpdateProvider(ctx context.Context, in *MsgUpdateProvider, opts ...grpc.CallOption) (*MsgUpdateProviderResponse, error)
	// DeleteProvider defines a method that deletes a provider given the proper inputs
	DeleteProvider(ctx context.Context, in *MsgDeleteProvider, opts ...grpc.CallOption) (*MsgDeleteProviderResponse, 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 MsgCreateProvider

type MsgCreateProvider struct {
	Owner      string                                                              `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	HostURI    string                                                              `protobuf:"bytes,2,opt,name=host_uri,json=hostUri,proto3" json:"host_uri" yaml:"host_uri"`
	Attributes github_com_akash_network_akash_api_go_node_types_v1beta1.Attributes `` /* 162-byte string literal not displayed */
	Info       ProviderInfo                                                        `protobuf:"bytes,4,opt,name=info,proto3" json:"info" yaml:"info"`
}

MsgCreateProvider defines an SDK message for creating a provider

func NewMsgCreateProvider

func NewMsgCreateProvider(owner sdk.AccAddress, hostURI string, attributes types.Attributes) *MsgCreateProvider

NewMsgCreateProvider creates a new MsgCreateProvider instance

func (*MsgCreateProvider) Descriptor

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

func (*MsgCreateProvider) GetHostURI

func (m *MsgCreateProvider) GetHostURI() string

func (*MsgCreateProvider) GetInfo

func (m *MsgCreateProvider) GetInfo() ProviderInfo

func (*MsgCreateProvider) GetOwner

func (m *MsgCreateProvider) GetOwner() string

func (MsgCreateProvider) GetSignBytes

func (msg MsgCreateProvider) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCreateProvider) GetSigners

func (msg MsgCreateProvider) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgCreateProvider) Marshal

func (m *MsgCreateProvider) Marshal() (dAtA []byte, err error)

func (*MsgCreateProvider) MarshalTo

func (m *MsgCreateProvider) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateProvider) MarshalToSizedBuffer

func (m *MsgCreateProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateProvider) ProtoMessage

func (*MsgCreateProvider) ProtoMessage()

func (*MsgCreateProvider) Reset

func (m *MsgCreateProvider) Reset()

func (MsgCreateProvider) Route

func (msg MsgCreateProvider) Route() string

Route implements the sdk.Msg interface

func (*MsgCreateProvider) Size

func (m *MsgCreateProvider) Size() (n int)

func (*MsgCreateProvider) String

func (m *MsgCreateProvider) String() string

func (MsgCreateProvider) Type

func (msg MsgCreateProvider) Type() string

Type implements the sdk.Msg interface

func (*MsgCreateProvider) Unmarshal

func (m *MsgCreateProvider) Unmarshal(dAtA []byte) error

func (MsgCreateProvider) ValidateBasic

func (msg MsgCreateProvider) ValidateBasic() error

ValidateBasic does basic validation of a HostURI

func (*MsgCreateProvider) XXX_DiscardUnknown

func (m *MsgCreateProvider) XXX_DiscardUnknown()

func (*MsgCreateProvider) XXX_Marshal

func (m *MsgCreateProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateProvider) XXX_Merge

func (m *MsgCreateProvider) XXX_Merge(src proto.Message)

func (*MsgCreateProvider) XXX_Size

func (m *MsgCreateProvider) XXX_Size() int

func (*MsgCreateProvider) XXX_Unmarshal

func (m *MsgCreateProvider) XXX_Unmarshal(b []byte) error

type MsgCreateProviderResponse

type MsgCreateProviderResponse struct {
}

MsgCreateProviderResponse defines the Msg/CreateProvider response type.

func (*MsgCreateProviderResponse) Descriptor

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

func (*MsgCreateProviderResponse) Marshal

func (m *MsgCreateProviderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateProviderResponse) MarshalTo

func (m *MsgCreateProviderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateProviderResponse) MarshalToSizedBuffer

func (m *MsgCreateProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateProviderResponse) ProtoMessage

func (*MsgCreateProviderResponse) ProtoMessage()

func (*MsgCreateProviderResponse) Reset

func (m *MsgCreateProviderResponse) Reset()

func (*MsgCreateProviderResponse) Size

func (m *MsgCreateProviderResponse) Size() (n int)

func (*MsgCreateProviderResponse) String

func (m *MsgCreateProviderResponse) String() string

func (*MsgCreateProviderResponse) Unmarshal

func (m *MsgCreateProviderResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateProviderResponse) XXX_DiscardUnknown

func (m *MsgCreateProviderResponse) XXX_DiscardUnknown()

func (*MsgCreateProviderResponse) XXX_Marshal

func (m *MsgCreateProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateProviderResponse) XXX_Merge

func (m *MsgCreateProviderResponse) XXX_Merge(src proto.Message)

func (*MsgCreateProviderResponse) XXX_Size

func (m *MsgCreateProviderResponse) XXX_Size() int

func (*MsgCreateProviderResponse) XXX_Unmarshal

func (m *MsgCreateProviderResponse) XXX_Unmarshal(b []byte) error

type MsgDeleteProvider

type MsgDeleteProvider struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
}

MsgDeleteProvider defines an SDK message for deleting a provider

func NewMsgDeleteProvider

func NewMsgDeleteProvider(owner sdk.AccAddress) *MsgDeleteProvider

NewMsgDeleteProvider creates a new MsgDeleteProvider instance

func (*MsgDeleteProvider) Descriptor

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

func (*MsgDeleteProvider) GetOwner

func (m *MsgDeleteProvider) GetOwner() string

func (MsgDeleteProvider) GetSignBytes

func (msg MsgDeleteProvider) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgDeleteProvider) GetSigners

func (msg MsgDeleteProvider) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgDeleteProvider) Marshal

func (m *MsgDeleteProvider) Marshal() (dAtA []byte, err error)

func (*MsgDeleteProvider) MarshalTo

func (m *MsgDeleteProvider) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteProvider) MarshalToSizedBuffer

func (m *MsgDeleteProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteProvider) ProtoMessage

func (*MsgDeleteProvider) ProtoMessage()

func (*MsgDeleteProvider) Reset

func (m *MsgDeleteProvider) Reset()

func (MsgDeleteProvider) Route

func (msg MsgDeleteProvider) Route() string

Route implements the sdk.Msg interface

func (*MsgDeleteProvider) Size

func (m *MsgDeleteProvider) Size() (n int)

func (*MsgDeleteProvider) String

func (m *MsgDeleteProvider) String() string

func (MsgDeleteProvider) Type

func (msg MsgDeleteProvider) Type() string

Type implements the sdk.Msg interface

func (*MsgDeleteProvider) Unmarshal

func (m *MsgDeleteProvider) Unmarshal(dAtA []byte) error

func (MsgDeleteProvider) ValidateBasic

func (msg MsgDeleteProvider) ValidateBasic() error

ValidateBasic does basic validation

func (*MsgDeleteProvider) XXX_DiscardUnknown

func (m *MsgDeleteProvider) XXX_DiscardUnknown()

func (*MsgDeleteProvider) XXX_Marshal

func (m *MsgDeleteProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteProvider) XXX_Merge

func (m *MsgDeleteProvider) XXX_Merge(src proto.Message)

func (*MsgDeleteProvider) XXX_Size

func (m *MsgDeleteProvider) XXX_Size() int

func (*MsgDeleteProvider) XXX_Unmarshal

func (m *MsgDeleteProvider) XXX_Unmarshal(b []byte) error

type MsgDeleteProviderResponse

type MsgDeleteProviderResponse struct {
}

MsgDeleteProviderResponse defines the Msg/DeleteProvider response type.

func (*MsgDeleteProviderResponse) Descriptor

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

func (*MsgDeleteProviderResponse) Marshal

func (m *MsgDeleteProviderResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteProviderResponse) MarshalTo

func (m *MsgDeleteProviderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteProviderResponse) MarshalToSizedBuffer

func (m *MsgDeleteProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteProviderResponse) ProtoMessage

func (*MsgDeleteProviderResponse) ProtoMessage()

func (*MsgDeleteProviderResponse) Reset

func (m *MsgDeleteProviderResponse) Reset()

func (*MsgDeleteProviderResponse) Size

func (m *MsgDeleteProviderResponse) Size() (n int)

func (*MsgDeleteProviderResponse) String

func (m *MsgDeleteProviderResponse) String() string

func (*MsgDeleteProviderResponse) Unmarshal

func (m *MsgDeleteProviderResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteProviderResponse) XXX_DiscardUnknown

func (m *MsgDeleteProviderResponse) XXX_DiscardUnknown()

func (*MsgDeleteProviderResponse) XXX_Marshal

func (m *MsgDeleteProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteProviderResponse) XXX_Merge

func (m *MsgDeleteProviderResponse) XXX_Merge(src proto.Message)

func (*MsgDeleteProviderResponse) XXX_Size

func (m *MsgDeleteProviderResponse) XXX_Size() int

func (*MsgDeleteProviderResponse) XXX_Unmarshal

func (m *MsgDeleteProviderResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// CreateProvider defines a method that creates a provider given the proper inputs
	CreateProvider(context.Context, *MsgCreateProvider) (*MsgCreateProviderResponse, error)
	// UpdateProvider defines a method that updates a provider given the proper inputs
	UpdateProvider(context.Context, *MsgUpdateProvider) (*MsgUpdateProviderResponse, error)
	// DeleteProvider defines a method that deletes a provider given the proper inputs
	DeleteProvider(context.Context, *MsgDeleteProvider) (*MsgDeleteProviderResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateProvider

type MsgUpdateProvider struct {
	Owner      string                                                              `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	HostURI    string                                                              `protobuf:"bytes,2,opt,name=host_uri,json=hostUri,proto3" json:"host_uri" yaml:"host_uri"`
	Attributes github_com_akash_network_akash_api_go_node_types_v1beta1.Attributes `` /* 162-byte string literal not displayed */
	Info       ProviderInfo                                                        `protobuf:"bytes,4,opt,name=info,proto3" json:"info" yaml:"info"`
}

MsgUpdateProvider defines an SDK message for updating a provider

func NewMsgUpdateProvider

func NewMsgUpdateProvider(owner sdk.AccAddress, hostURI string, attributes types.Attributes) *MsgUpdateProvider

NewMsgUpdateProvider creates a new MsgUpdateProvider instance

func (*MsgUpdateProvider) Descriptor

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

func (*MsgUpdateProvider) GetHostURI

func (m *MsgUpdateProvider) GetHostURI() string

func (*MsgUpdateProvider) GetInfo

func (m *MsgUpdateProvider) GetInfo() ProviderInfo

func (*MsgUpdateProvider) GetOwner

func (m *MsgUpdateProvider) GetOwner() string

func (MsgUpdateProvider) GetSignBytes

func (msg MsgUpdateProvider) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgUpdateProvider) GetSigners

func (msg MsgUpdateProvider) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgUpdateProvider) Marshal

func (m *MsgUpdateProvider) Marshal() (dAtA []byte, err error)

func (*MsgUpdateProvider) MarshalTo

func (m *MsgUpdateProvider) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateProvider) MarshalToSizedBuffer

func (m *MsgUpdateProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateProvider) ProtoMessage

func (*MsgUpdateProvider) ProtoMessage()

func (*MsgUpdateProvider) Reset

func (m *MsgUpdateProvider) Reset()

func (MsgUpdateProvider) Route

func (msg MsgUpdateProvider) Route() string

Route implements the sdk.Msg interface

func (*MsgUpdateProvider) Size

func (m *MsgUpdateProvider) Size() (n int)

func (*MsgUpdateProvider) String

func (m *MsgUpdateProvider) String() string

func (MsgUpdateProvider) Type

func (msg MsgUpdateProvider) Type() string

Type implements the sdk.Msg interface

func (*MsgUpdateProvider) Unmarshal

func (m *MsgUpdateProvider) Unmarshal(dAtA []byte) error

func (MsgUpdateProvider) ValidateBasic

func (msg MsgUpdateProvider) ValidateBasic() error

ValidateBasic does basic validation of a ProviderURI

func (*MsgUpdateProvider) XXX_DiscardUnknown

func (m *MsgUpdateProvider) XXX_DiscardUnknown()

func (*MsgUpdateProvider) XXX_Marshal

func (m *MsgUpdateProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateProvider) XXX_Merge

func (m *MsgUpdateProvider) XXX_Merge(src proto.Message)

func (*MsgUpdateProvider) XXX_Size

func (m *MsgUpdateProvider) XXX_Size() int

func (*MsgUpdateProvider) XXX_Unmarshal

func (m *MsgUpdateProvider) XXX_Unmarshal(b []byte) error

type MsgUpdateProviderResponse

type MsgUpdateProviderResponse struct {
}

MsgUpdateProviderResponse defines the Msg/UpdateProvider response type.

func (*MsgUpdateProviderResponse) Descriptor

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

func (*MsgUpdateProviderResponse) Marshal

func (m *MsgUpdateProviderResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateProviderResponse) MarshalTo

func (m *MsgUpdateProviderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateProviderResponse) MarshalToSizedBuffer

func (m *MsgUpdateProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateProviderResponse) ProtoMessage

func (*MsgUpdateProviderResponse) ProtoMessage()

func (*MsgUpdateProviderResponse) Reset

func (m *MsgUpdateProviderResponse) Reset()

func (*MsgUpdateProviderResponse) Size

func (m *MsgUpdateProviderResponse) Size() (n int)

func (*MsgUpdateProviderResponse) String

func (m *MsgUpdateProviderResponse) String() string

func (*MsgUpdateProviderResponse) Unmarshal

func (m *MsgUpdateProviderResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateProviderResponse) XXX_DiscardUnknown

func (m *MsgUpdateProviderResponse) XXX_DiscardUnknown()

func (*MsgUpdateProviderResponse) XXX_Marshal

func (m *MsgUpdateProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateProviderResponse) XXX_Merge

func (m *MsgUpdateProviderResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateProviderResponse) XXX_Size

func (m *MsgUpdateProviderResponse) XXX_Size() int

func (*MsgUpdateProviderResponse) XXX_Unmarshal

func (m *MsgUpdateProviderResponse) XXX_Unmarshal(b []byte) error

type Provider

type Provider struct {
	Owner      string                                                              `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	HostURI    string                                                              `protobuf:"bytes,2,opt,name=host_uri,json=hostUri,proto3" json:"host_uri" yaml:"host_uri"`
	Attributes github_com_akash_network_akash_api_go_node_types_v1beta1.Attributes `` /* 162-byte string literal not displayed */
	Info       ProviderInfo                                                        `protobuf:"bytes,4,opt,name=info,proto3" json:"info" yaml:"info"`
}

Provider stores owner and host details

func (*Provider) Address

func (p *Provider) Address() sdk.AccAddress

Address implements provider and returns owner of provider

func (*Provider) Descriptor

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

func (*Provider) GetHostURI

func (m *Provider) GetHostURI() string

func (*Provider) GetInfo

func (m *Provider) GetInfo() ProviderInfo

func (*Provider) GetOwner

func (m *Provider) GetOwner() string

func (*Provider) Marshal

func (m *Provider) Marshal() (dAtA []byte, err error)

func (*Provider) MarshalTo

func (m *Provider) MarshalTo(dAtA []byte) (int, error)

func (*Provider) MarshalToSizedBuffer

func (m *Provider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) Reset

func (m *Provider) Reset()

func (*Provider) Size

func (m *Provider) Size() (n int)

func (Provider) String

func (p Provider) String() string

String implements the Stringer interface for a Provider object.

func (*Provider) Unmarshal

func (m *Provider) Unmarshal(dAtA []byte) error

func (*Provider) XXX_DiscardUnknown

func (m *Provider) XXX_DiscardUnknown()

func (*Provider) XXX_Marshal

func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Provider) XXX_Merge

func (m *Provider) XXX_Merge(src proto.Message)

func (*Provider) XXX_Size

func (m *Provider) XXX_Size() int

func (*Provider) XXX_Unmarshal

func (m *Provider) XXX_Unmarshal(b []byte) error

type ProviderInfo

type ProviderInfo struct {
	EMail   string `protobuf:"bytes,1,opt,name=email,proto3" json:"email" yaml:"email"`
	Website string `protobuf:"bytes,2,opt,name=website,proto3" json:"website" yaml:"website"`
}

ProviderInfo

func (*ProviderInfo) Descriptor

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

func (*ProviderInfo) GetEMail

func (m *ProviderInfo) GetEMail() string

func (*ProviderInfo) GetWebsite

func (m *ProviderInfo) GetWebsite() string

func (ProviderInfo) IsEmpty

func (m ProviderInfo) IsEmpty() bool

func (*ProviderInfo) Marshal

func (m *ProviderInfo) Marshal() (dAtA []byte, err error)

func (*ProviderInfo) MarshalTo

func (m *ProviderInfo) MarshalTo(dAtA []byte) (int, error)

func (*ProviderInfo) MarshalToSizedBuffer

func (m *ProviderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderInfo) ProtoMessage

func (*ProviderInfo) ProtoMessage()

func (*ProviderInfo) Reset

func (m *ProviderInfo) Reset()

func (*ProviderInfo) Size

func (m *ProviderInfo) Size() (n int)

func (*ProviderInfo) String

func (m *ProviderInfo) String() string

func (*ProviderInfo) Unmarshal

func (m *ProviderInfo) Unmarshal(dAtA []byte) error

func (ProviderInfo) Validate

func (m ProviderInfo) Validate() error

func (*ProviderInfo) XXX_DiscardUnknown

func (m *ProviderInfo) XXX_DiscardUnknown()

func (*ProviderInfo) XXX_Marshal

func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderInfo) XXX_Merge

func (m *ProviderInfo) XXX_Merge(src proto.Message)

func (*ProviderInfo) XXX_Size

func (m *ProviderInfo) XXX_Size() int

func (*ProviderInfo) XXX_Unmarshal

func (m *ProviderInfo) XXX_Unmarshal(b []byte) error

type Providers

type Providers []Provider

Providers is the collection of Provider

func (Providers) String

func (obj Providers) String() string

String implements the Stringer interface for a Providers object.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateProvider

func (*UnimplementedMsgServer) DeleteProvider

func (*UnimplementedMsgServer) UpdateProvider

Jump to

Keyboard shortcuts

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