v2bindings

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type BindingServiceClient

type BindingServiceClient struct {
	// contains filtered or unexported fields
}

func NewPolicyService

func NewPolicyService(clientID string, accountID string, clientSecret string) *BindingServiceClient

func (*BindingServiceClient) AccountID

func (me *BindingServiceClient) AccountID() string

func (*BindingServiceClient) ClientID

func (me *BindingServiceClient) ClientID() string

func (*BindingServiceClient) ClientSecret

func (me *BindingServiceClient) ClientSecret() string

func (*BindingServiceClient) Create

func (*BindingServiceClient) Delete

func (me *BindingServiceClient) Delete(id string) error

func (*BindingServiceClient) FetchAccountBindings added in v1.57.0

func (me *BindingServiceClient) FetchAccountBindings() chan *api.Stub

func (*BindingServiceClient) FetchEnvironmentBindings added in v1.57.0

func (me *BindingServiceClient) FetchEnvironmentBindings() chan *api.Stub

func (*BindingServiceClient) Get

func (*BindingServiceClient) GetWithContext added in v1.57.0

func (me *BindingServiceClient) GetWithContext(ctx context.Context, id string, v *bindings.PolicyBinding) error

func (*BindingServiceClient) List

func (me *BindingServiceClient) List() (api.Stubs, error)

func (*BindingServiceClient) Name

func (me *BindingServiceClient) Name() string

func (*BindingServiceClient) SchemaID

func (me *BindingServiceClient) SchemaID() string

func (*BindingServiceClient) Update

type BindingsResponse added in v1.57.0

type BindingsResponse struct {
	LevelType      string `json:"levelType"`
	LevelID        string `json:"levelId"`
	PolicyBindings []struct {
		PolicyUUID string            `json:"policyUuid"`
		GroupUUIDs []string          `json:"groups"`
		Parameters map[string]string `json:"parameters"`
		Metadata   map[string]string `json:"metadata"`
	} `json:"policyBindings"`
}

type DataStub

type DataStub struct {
	ID string `json:"id"`
}

type ListEnvResponse

type ListEnvResponse struct {
	Data []DataStub `json:"data"`
}

type ListPolicyBindingsResponse

type ListPolicyBindingsResponse struct {
	PolicyBindings []PolicyBindingStub `json:"policyBindings"`
}

type PolicyBindingStub

type PolicyBindingStub struct {
	Groups []string `json:"groups"`
}

type PolicyCreateResponse

type PolicyCreateResponse struct {
	UUID string `json:"uuid"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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