Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
Cmd generates a kubernetes token for a given namespace
func NewKubetokenCmd ¶
func NewKubetokenCmd(optFunc ...kubetokenOption) *Cmd
NewKubetokenCmd returns a new cobra command
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options represents the options for kubetoken
type Serializer ¶
type Serializer struct{}
func (*Serializer) ToJson ¶
func (*Serializer) ToJson(kubetoken types.KubeTokenResponse) (string, error)
Click to show internal directories.
Click to hide internal directories.