Documentation ¶
Overview ¶
Package appcreds contains utilities to generate and interact with Aporeto AppCredentials.
Index ¶
- func New(ctx context.Context, m manipulate.Manipulator, namespace string, name string, ...) (*gaia.AppCredential, error)
- func NewWithAppCredential(ctx context.Context, m manipulate.Manipulator, template *gaia.AppCredential) (*gaia.AppCredential, error)
- func Renew(ctx context.Context, m manipulate.Manipulator, creds *gaia.AppCredential) (*gaia.AppCredential, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, m manipulate.Manipulator, namespace string, name string, roles []string, subnets []string) (*gaia.AppCredential, error)
New creates a new *gaia.AppCredential.
func NewWithAppCredential ¶
func NewWithAppCredential(ctx context.Context, m manipulate.Manipulator, template *gaia.AppCredential) (*gaia.AppCredential, error)
NewWithAppCredential creates a new *gaia.AppCredential from an *AppCredential
func Renew ¶
func Renew(ctx context.Context, m manipulate.Manipulator, creds *gaia.AppCredential) (*gaia.AppCredential, error)
Renew renews the given appcred.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.