custom_abac_configuration

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomAbacConfiguration

type CustomAbacConfiguration struct {
	ID           *string `json:"id,omitempty"` // read-only
	CustomAbacId *string `json:"customAbacId,omitempty"`
	Name         *string `json:"name,omitempty"`
	Roles        []*Role `json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (CustomAbacConfiguration) MarshalJSON

func (o CustomAbacConfiguration) MarshalJSON() ([]byte, error)

func (*CustomAbacConfiguration) SetCustomAbacId

func (o *CustomAbacConfiguration) SetCustomAbacId(v *string) *CustomAbacConfiguration

func (*CustomAbacConfiguration) SetID

func (*CustomAbacConfiguration) SetName

func (*CustomAbacConfiguration) SetRoles

type Role

type Role struct {
	OrgId   *string   `json:"orgId,omitempty"`
	OrgRole *string   `json:"orgRole,omitempty"`
	TeamIds []*string `json:"teamIds,omitempty"`
	// contains filtered or unexported fields
}

func (Role) MarshalJSON

func (o Role) MarshalJSON() ([]byte, error)

func (*Role) SetOrgId

func (o *Role) SetOrgId(v *string) *Role

func (*Role) SetOrgRole

func (o *Role) SetOrgRole(v *string) *Role

func (*Role) SetTeamIds

func (o *Role) SetTeamIds(v []*string) *Role

type Service

type Service interface {
	CreateCustomAbacConfiguration(context.Context, *CustomAbacConfiguration) (*CustomAbacConfiguration, error)
	ListCustomAbacConfigurations(context.Context, *string, *string) ([]*CustomAbacConfiguration, error)
	ReadCustomAbacConfiguration(context.Context, string) (*CustomAbacConfiguration, error)
	UpdateCustomAbacConfiguration(context.Context, string, *CustomAbacConfiguration) (*CustomAbacConfiguration, error)
	DeleteCustomAbacConfiguration(context.Context, string) (*commons.EmptyResponse, error)
}

Service provides the API operation methods for making requests to endpoints of the ControlMonkey API. See this package's package overview docs for details on the service.

func New

func New(sess *session.Session, cfgs ...*controlmonkey.Config) Service

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func (*ServiceOp) CreateCustomAbacConfiguration

func (s *ServiceOp) CreateCustomAbacConfiguration(ctx context.Context, input *CustomAbacConfiguration) (*CustomAbacConfiguration, error)

func (*ServiceOp) DeleteCustomAbacConfiguration

func (s *ServiceOp) DeleteCustomAbacConfiguration(ctx context.Context, id string) (*commons.EmptyResponse, error)

func (*ServiceOp) ListCustomAbacConfigurations

func (s *ServiceOp) ListCustomAbacConfigurations(ctx context.Context, customAbacConfigurationId *string, customAbacConfigurationName *string) ([]*CustomAbacConfiguration, error)

func (*ServiceOp) ReadCustomAbacConfiguration

func (s *ServiceOp) ReadCustomAbacConfiguration(ctx context.Context, customAbacConfigurationId string) (*CustomAbacConfiguration, error)

func (*ServiceOp) UpdateCustomAbacConfiguration

func (s *ServiceOp) UpdateCustomAbacConfiguration(ctx context.Context, id string, input *CustomAbacConfiguration) (*CustomAbacConfiguration, error)

Jump to

Keyboard shortcuts

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