Documentation ¶
Index ¶
- func TargetTypeToGRPC(typ TargetType) ape.TargetType
- func TargetTypeToGRPCField(typ TargetType) ape.TargetType
- type Chain
- func (v2 *Chain) FromGRPCMessage(m grpc.Message) error
- func (c *Chain) GetKind() chainKind
- func (c *Chain) SetKind(kind chainKind)
- func (c *Chain) StableMarshal(buf []byte) []byte
- func (c *Chain) StableSize() (size int)
- func (v2 *Chain) ToGRPCMessage() grpc.Message
- func (c *Chain) Unmarshal(data []byte) error
- type ChainRaw
- type ChainTarget
- func (v2 *ChainTarget) FromGRPCMessage(m grpc.Message) error
- func (ct *ChainTarget) GetName() string
- func (ct *ChainTarget) GetTargetType() TargetType
- func (t *ChainTarget) MarshalJSON() ([]byte, error)
- func (ct *ChainTarget) SetName(name string)
- func (ct *ChainTarget) SetTargetType(targeType TargetType)
- func (t *ChainTarget) StableMarshal(buf []byte) []byte
- func (t *ChainTarget) StableSize() (size int)
- func (v2 *ChainTarget) ToGRPCMessage() grpc.Message
- func (t *ChainTarget) Unmarshal(data []byte) error
- func (t *ChainTarget) UnmarshalJSON(data []byte) error
- type TargetType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TargetTypeToGRPC ¶
func TargetTypeToGRPC(typ TargetType) ape.TargetType
func TargetTypeToGRPCField ¶
func TargetTypeToGRPCField(typ TargetType) ape.TargetType
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
func (*Chain) StableMarshal ¶
func (*Chain) StableSize ¶
func (*Chain) ToGRPCMessage ¶
type ChainTarget ¶
type ChainTarget struct {
// contains filtered or unexported fields
}
func (*ChainTarget) FromGRPCMessage ¶
func (v2 *ChainTarget) FromGRPCMessage(m grpc.Message) error
func (*ChainTarget) GetName ¶
func (ct *ChainTarget) GetName() string
func (*ChainTarget) GetTargetType ¶
func (ct *ChainTarget) GetTargetType() TargetType
func (*ChainTarget) MarshalJSON ¶
func (t *ChainTarget) MarshalJSON() ([]byte, error)
func (*ChainTarget) SetName ¶
func (ct *ChainTarget) SetName(name string)
func (*ChainTarget) SetTargetType ¶
func (ct *ChainTarget) SetTargetType(targeType TargetType)
func (*ChainTarget) StableMarshal ¶
func (t *ChainTarget) StableMarshal(buf []byte) []byte
func (*ChainTarget) StableSize ¶
func (t *ChainTarget) StableSize() (size int)
func (*ChainTarget) ToGRPCMessage ¶
func (v2 *ChainTarget) ToGRPCMessage() grpc.Message
func (*ChainTarget) Unmarshal ¶
func (t *ChainTarget) Unmarshal(data []byte) error
func (*ChainTarget) UnmarshalJSON ¶
func (t *ChainTarget) UnmarshalJSON(data []byte) error
type TargetType ¶
type TargetType uint32
const ( TargetTypeUndefined TargetType = iota TargetTypeNamespace TargetTypeContainer TargetTypeUser TargetTypeGroup )
func TargetTypeFromGRPC ¶
func TargetTypeFromGRPC(typ ape.TargetType) TargetType
func TargetTypeFromGRPCField ¶
func TargetTypeFromGRPCField(typ ape.TargetType) TargetType
func (*TargetType) FromString ¶
func (tt *TargetType) FromString(s string) bool
func (TargetType) String ¶
func (tt TargetType) String() string
Click to show internal directories.
Click to hide internal directories.