Help us shape the future of Go! Take the 2026 Go Developer Survey

role

package
v0.344.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCmd added in v0.251.0

func CreateCmd(ch *cmdutil.Helper) *cobra.Command

func DefaultCmd added in v0.323.0

func DefaultCmd(ch *cmdutil.Helper) *cobra.Command

func DeleteCmd added in v0.251.0

func DeleteCmd(ch *cmdutil.Helper) *cobra.Command

func GetCmd added in v0.251.0

func GetCmd(ch *cmdutil.Helper) *cobra.Command

func ListCmd added in v0.251.0

func ListCmd(ch *cmdutil.Helper) *cobra.Command

ListCmd encapsulates the command for listing roles for a branch.

func ReassignCmd added in v0.261.0

func ReassignCmd(ch *cmdutil.Helper) *cobra.Command

func RenewCmd added in v0.251.0

func RenewCmd(ch *cmdutil.Helper) *cobra.Command

func ResetCmd added in v0.261.0

func ResetCmd(ch *cmdutil.Helper) *cobra.Command

func ResetDefaultCmd

func ResetDefaultCmd(ch *cmdutil.Helper) *cobra.Command

func RoleCmd

func RoleCmd(ch *cmdutil.Helper) *cobra.Command

func UpdateCmd added in v0.251.0

func UpdateCmd(ch *cmdutil.Helper) *cobra.Command

Types

type NekiRole added in v0.332.0

type NekiRole struct {
	PublicID        string  `header:"id" json:"id"`
	Name            string  `header:"name" json:"name"`
	Username        string  `header:"username" json:"username"`
	Ready           bool    `header:"ready" json:"ready"`
	Status          string  `header:"status" json:"status"`
	ExpiresAt       *string `header:"expires_at" json:"expires_at"`
	Password        string  `header:"password" json:"password"`
	AccessHostURL   string  `header:"access_host_url" json:"access_host_url"`
	DatabaseURL     string  `header:"database_url" json:"database_url"`
	Options         string  `header:"options" json:"options,omitempty"`
	WithReplication bool    `header:"with_replication" json:"with_replication"`
	// contains filtered or unexported fields
}

type NekiRoleList added in v0.332.0

type NekiRoleList struct {
	PublicID        string  `header:"id" json:"id"`
	Name            string  `header:"name" json:"name"`
	Username        string  `header:"username" json:"username"`
	Ready           bool    `header:"ready" json:"ready"`
	Status          string  `header:"status" json:"status"`
	ExpiresAt       *string `header:"expires_at" json:"expires_at"`
	AccessHostURL   string  `header:"access_host_url" json:"access_host_url"`
	WithReplication bool    `header:"with_replication" json:"with_replication"`
	CreatedAt       string  `header:"created_at" json:"created_at"`
	// contains filtered or unexported fields
}

type PostgresRole

type PostgresRole struct {
	PublicID        string  `header:"id" json:"id"`
	Name            string  `header:"name" json:"name"`
	Username        string  `header:"username" json:"username"`
	Status          string  `header:"status" json:"status"`
	ExpiresAt       *string `header:"expires_at" json:"expires_at"`
	Password        string  `header:"password" json:"password"`
	AccessHostURL   string  `header:"access_host_url" json:"access_host_url"`
	DatabaseURL     string  `header:"database_url" json:"database_url"`
	WithReplication bool    `header:"with_replication" json:"with_replication"`
	// contains filtered or unexported fields
}

type PostgresRoleList added in v0.251.0

type PostgresRoleList struct {
	PublicID        string  `header:"id" json:"id"`
	Name            string  `header:"name" json:"name"`
	Username        string  `header:"username" json:"username"`
	Status          string  `header:"status" json:"status"`
	ExpiresAt       *string `header:"expires_at" json:"expires_at"`
	AccessHostURL   string  `header:"access_host_url" json:"access_host_url"`
	WithReplication bool    `header:"with_replication" json:"with_replication"`
	CreatedAt       string  `header:"created_at" json:"created_at"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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