internal

package
v0.0.0-...-28b0f66 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2017 License: MIT, Zlib Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Itob

func Itob(v int) []byte

Itob returns an 8-byte big endian representation of v. This function is typically used for encoding integer IDs to byte slices so that they can be used as BoltDB keys.

func MarshalDockerHub

func MarshalDockerHub(settings *dockm.DockerHub) ([]byte, error)

MarshalDockerHub encodes a Dockerhub object to binary format.

func MarshalEndpoint

func MarshalEndpoint(endpoint *dockm.Endpoint) ([]byte, error)

MarshalEndpoint encodes an endpoint to binary format.

func MarshalRegistry

func MarshalRegistry(registry *dockm.Registry) ([]byte, error)

MarshalRegistry encodes a registry to binary format.

func MarshalResourceControl

func MarshalResourceControl(rc *dockm.ResourceControl) ([]byte, error)

MarshalResourceControl encodes a resource control object to binary format.

func MarshalSettings

func MarshalSettings(settings *dockm.Settings) ([]byte, error)

MarshalSettings encodes a settings object to binary format.

func MarshalStack

func MarshalStack(stack *dockm.Stack) ([]byte, error)

MarshalStack encodes a stack to binary format.

func MarshalTeam

func MarshalTeam(team *dockm.Team) ([]byte, error)

MarshalTeam encodes a team to binary format.

func MarshalTeamMembership

func MarshalTeamMembership(membership *dockm.TeamMembership) ([]byte, error)

MarshalTeamMembership encodes a team membership to binary format.

func MarshalUser

func MarshalUser(user *dockm.User) ([]byte, error)

MarshalUser encodes a user to binary format.

func UnmarshalDockerHub

func UnmarshalDockerHub(data []byte, settings *dockm.DockerHub) error

UnmarshalDockerHub decodes a Dockerhub object from a binary data.

func UnmarshalEndpoint

func UnmarshalEndpoint(data []byte, endpoint *dockm.Endpoint) error

UnmarshalEndpoint decodes an endpoint from a binary data.

func UnmarshalRegistry

func UnmarshalRegistry(data []byte, registry *dockm.Registry) error

UnmarshalRegistry decodes a registry from a binary data.

func UnmarshalResourceControl

func UnmarshalResourceControl(data []byte, rc *dockm.ResourceControl) error

UnmarshalResourceControl decodes a resource control object from a binary data.

func UnmarshalSettings

func UnmarshalSettings(data []byte, settings *dockm.Settings) error

UnmarshalSettings decodes a settings object from a binary data.

func UnmarshalStack

func UnmarshalStack(data []byte, stack *dockm.Stack) error

UnmarshalStack decodes a stack from a binary data.

func UnmarshalTeam

func UnmarshalTeam(data []byte, team *dockm.Team) error

UnmarshalTeam decodes a team from a binary data.

func UnmarshalTeamMembership

func UnmarshalTeamMembership(data []byte, membership *dockm.TeamMembership) error

UnmarshalTeamMembership decodes a team membership from a binary data.

func UnmarshalUser

func UnmarshalUser(data []byte, user *dockm.User) error

UnmarshalUser decodes a user from a binary data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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