package roles

import "github.com/mesos/mesos-go/api/v1/lib/roles"

Index

Functions

func IsStrictSubroleOf

func IsStrictSubroleOf(left, right string) bool

IsStrictSubroleOf returns true if left is a strict subrole of right.

func Parse

func Parse(s string) (string, error)

func Validate

func Validate(roles ...string) error

Types

type Role

type Role string

Role is a deprecated type.

func (Role) Assign

func (r Role) Assign() func(interface{})

func (Role) IsDefault

func (r Role) IsDefault() bool

func (Role) Proto

func (r Role) Proto() *string

Source Files

role.go

Version
v0.0.11 (latest)
Published
May 15, 2020
Platform
linux/amd64
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.