rbac

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForearmedClusterRoleBinding

type ForearmedClusterRoleBinding struct {
	APIVersion string    `json:"apiVersion"`
	Kind       string    `json:"kind"`
	Metadata   Metadata  `json:"metadata"`
	RoleRef    RoleRef   `json:"roleRef"`
	Subjects   []Subject `json:"subjects"`
}

ForearmedClusterRoleBinding redefines a bunch of things from k8s

func GenerateForearmedClusterRoleBinding

func GenerateForearmedClusterRoleBinding(name string) ForearmedClusterRoleBinding

GenerateForearmedClusterRoleBinding creates a cluster role binding in JSON format suitable for encoding with auger and pushing into etcd

type Metadata

type Metadata struct {
	CreationTimeStamp string    `json:"creationTimestamp"`
	Name              string    `json:"name"`
	UID               uuid.UUID `json:"uid"`
}

Metadata redefines a bunch of things from k8s

type RoleRef

type RoleRef struct {
	APIGroup string `json:"apiGroup"`
	Kind     string `json:"kind"`
	Name     string `json:"name"`
}

RoleRef redefines a bunch of things from k8s

type Subject

type Subject struct {
	APIGroup  string `json:"apiGroup"`
	Kind      string `json:"kind"`
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

Subject redefines a bunch of things from k8s

Jump to

Keyboard shortcuts

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