Documentation ¶
Index ¶
- type Client
- func (c *Client) AddOrgMember(ctx context.Context, orgRef, userRef string, role cstypes.MemberRole) (*cstypes.OrganizationMember, *http.Response, error)
- func (c *Client) CreateOrg(ctx context.Context, org *cstypes.Organization) (*types.Organization, *http.Response, error)
- func (c *Client) CreateProject(ctx context.Context, project *cstypes.Project) (*csapitypes.Project, *http.Response, error)
- func (c *Client) CreateProjectGroup(ctx context.Context, projectGroup *cstypes.ProjectGroup) (*csapitypes.ProjectGroup, *http.Response, error)
- func (c *Client) CreateProjectGroupSecret(ctx context.Context, projectGroupRef string, secret *cstypes.Secret) (*csapitypes.Secret, *http.Response, error)
- func (c *Client) CreateProjectGroupVariable(ctx context.Context, projectGroupRef string, variable *cstypes.Variable) (*csapitypes.Variable, *http.Response, error)
- func (c *Client) CreateProjectSecret(ctx context.Context, projectRef string, secret *cstypes.Secret) (*csapitypes.Secret, *http.Response, error)
- func (c *Client) CreateProjectVariable(ctx context.Context, projectRef string, variable *cstypes.Variable) (*csapitypes.Variable, *http.Response, error)
- func (c *Client) CreateRemoteSource(ctx context.Context, rs *cstypes.RemoteSource) (*types.RemoteSource, *http.Response, error)
- func (c *Client) CreateUser(ctx context.Context, req *csapitypes.CreateUserRequest) (*cstypes.User, *http.Response, error)
- func (c *Client) CreateUserLA(ctx context.Context, userRef string, req *csapitypes.CreateUserLARequest) (*cstypes.LinkedAccount, *http.Response, error)
- func (c *Client) CreateUserToken(ctx context.Context, userRef string, req *csapitypes.CreateUserTokenRequest) (*csapitypes.CreateUserTokenResponse, *http.Response, error)
- func (c *Client) DeleteOrg(ctx context.Context, orgRef string) (*http.Response, error)
- func (c *Client) DeleteProject(ctx context.Context, projectRef string) (*http.Response, error)
- func (c *Client) DeleteProjectGroup(ctx context.Context, projectGroupRef string) (*http.Response, error)
- func (c *Client) DeleteProjectGroupSecret(ctx context.Context, projectGroupRef, secretName string) (*http.Response, error)
- func (c *Client) DeleteProjectGroupVariable(ctx context.Context, projectGroupRef, variableName string) (*http.Response, error)
- func (c *Client) DeleteProjectSecret(ctx context.Context, projectRef, secretName string) (*http.Response, error)
- func (c *Client) DeleteProjectVariable(ctx context.Context, projectRef, variableName string) (*http.Response, error)
- func (c *Client) DeleteRemoteSource(ctx context.Context, rsRef string) (*http.Response, error)
- func (c *Client) DeleteUser(ctx context.Context, userRef string) (*http.Response, error)
- func (c *Client) DeleteUserLA(ctx context.Context, userRef, laID string) (*http.Response, error)
- func (c *Client) DeleteUserToken(ctx context.Context, userRef, tokenName string) (*http.Response, error)
- func (c *Client) GetOrg(ctx context.Context, orgRef string) (*cstypes.Organization, *http.Response, error)
- func (c *Client) GetOrgMembers(ctx context.Context, orgRef string) ([]*csapitypes.OrgMemberResponse, *http.Response, error)
- func (c *Client) GetOrgs(ctx context.Context, start string, limit int, asc bool) ([]*cstypes.Organization, *http.Response, error)
- func (c *Client) GetProject(ctx context.Context, projectRef string) (*csapitypes.Project, *http.Response, error)
- func (c *Client) GetProjectGroup(ctx context.Context, projectGroupRef string) (*csapitypes.ProjectGroup, *http.Response, error)
- func (c *Client) GetProjectGroupProjects(ctx context.Context, projectGroupRef string) ([]*csapitypes.Project, *http.Response, error)
- func (c *Client) GetProjectGroupSecrets(ctx context.Context, projectGroupRef string, tree bool) ([]*csapitypes.Secret, *http.Response, error)
- func (c *Client) GetProjectGroupSubgroups(ctx context.Context, projectGroupRef string) ([]*csapitypes.ProjectGroup, *http.Response, error)
- func (c *Client) GetProjectGroupVariables(ctx context.Context, projectGroupRef string, tree bool) ([]*csapitypes.Variable, *http.Response, error)
- func (c *Client) GetProjectSecrets(ctx context.Context, projectRef string, tree bool) ([]*csapitypes.Secret, *http.Response, error)
- func (c *Client) GetProjectVariables(ctx context.Context, projectRef string, tree bool) ([]*csapitypes.Variable, *http.Response, error)
- func (c *Client) GetRemoteSource(ctx context.Context, rsRef string) (*cstypes.RemoteSource, *http.Response, error)
- func (c *Client) GetRemoteSources(ctx context.Context, start string, limit int, asc bool) ([]*cstypes.RemoteSource, *http.Response, error)
- func (c *Client) GetUser(ctx context.Context, userRef string) (*cstypes.User, *http.Response, error)
- func (c *Client) GetUserByLinkedAccount(ctx context.Context, linkedAccountID string) (*cstypes.User, *http.Response, error)
- func (c *Client) GetUserByLinkedAccountRemoteUserAndSource(ctx context.Context, remoteUserID, remoteSourceID string) (*cstypes.User, *http.Response, error)
- func (c *Client) GetUserByToken(ctx context.Context, token string) (*cstypes.User, *http.Response, error)
- func (c *Client) GetUserOrgs(ctx context.Context, userRef string) ([]*csapitypes.UserOrgsResponse, *http.Response, error)
- func (c *Client) GetUsers(ctx context.Context, start string, limit int, asc bool) ([]*cstypes.User, *http.Response, error)
- func (c *Client) RemoveOrgMember(ctx context.Context, orgRef, userRef string) (*http.Response, error)
- func (c *Client) SetHTTPClient(client *http.Client)
- func (c *Client) UpdateProject(ctx context.Context, projectRef string, project *cstypes.Project) (*csapitypes.Project, *http.Response, error)
- func (c *Client) UpdateProjectGroup(ctx context.Context, projectGroupRef string, ...) (*csapitypes.ProjectGroup, *http.Response, error)
- func (c *Client) UpdateProjectGroupSecret(ctx context.Context, projectGroupRef, secretName string, ...) (*csapitypes.Secret, *http.Response, error)
- func (c *Client) UpdateProjectGroupVariable(ctx context.Context, projectGroupRef, variableName string, ...) (*csapitypes.Variable, *http.Response, error)
- func (c *Client) UpdateProjectSecret(ctx context.Context, projectRef, secretName string, secret *cstypes.Secret) (*csapitypes.Secret, *http.Response, error)
- func (c *Client) UpdateProjectVariable(ctx context.Context, projectRef, variableName string, ...) (*csapitypes.Variable, *http.Response, error)
- func (c *Client) UpdateRemoteSource(ctx context.Context, remoteSourceRef string, ...) (*types.RemoteSource, *http.Response, error)
- func (c *Client) UpdateUser(ctx context.Context, userRef string, req *csapitypes.UpdateUserRequest) (*cstypes.User, *http.Response, error)
- func (c *Client) UpdateUserLA(ctx context.Context, userRef, laID string, req *csapitypes.UpdateUserLARequest) (*cstypes.LinkedAccount, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddOrgMember ¶
func (*Client) CreateOrg ¶
func (c *Client) CreateOrg(ctx context.Context, org *cstypes.Organization) (*types.Organization, *http.Response, error)
func (*Client) CreateProject ¶
func (*Client) CreateProjectGroup ¶
func (c *Client) CreateProjectGroup(ctx context.Context, projectGroup *cstypes.ProjectGroup) (*csapitypes.ProjectGroup, *http.Response, error)
func (*Client) CreateProjectGroupSecret ¶
func (*Client) CreateProjectGroupVariable ¶
func (*Client) CreateProjectSecret ¶
func (*Client) CreateProjectVariable ¶
func (*Client) CreateRemoteSource ¶
func (c *Client) CreateRemoteSource(ctx context.Context, rs *cstypes.RemoteSource) (*types.RemoteSource, *http.Response, error)
func (*Client) CreateUser ¶
func (c *Client) CreateUser(ctx context.Context, req *csapitypes.CreateUserRequest) (*cstypes.User, *http.Response, error)
func (*Client) CreateUserLA ¶
func (c *Client) CreateUserLA(ctx context.Context, userRef string, req *csapitypes.CreateUserLARequest) (*cstypes.LinkedAccount, *http.Response, error)
func (*Client) CreateUserToken ¶
func (c *Client) CreateUserToken(ctx context.Context, userRef string, req *csapitypes.CreateUserTokenRequest) (*csapitypes.CreateUserTokenResponse, *http.Response, error)
func (*Client) DeleteProject ¶
func (*Client) DeleteProjectGroup ¶
func (*Client) DeleteProjectGroupSecret ¶
func (*Client) DeleteProjectGroupVariable ¶
func (*Client) DeleteProjectSecret ¶
func (*Client) DeleteProjectVariable ¶
func (*Client) DeleteRemoteSource ¶
func (*Client) DeleteUser ¶
func (*Client) DeleteUserLA ¶
func (*Client) DeleteUserToken ¶
func (*Client) GetOrgMembers ¶
func (c *Client) GetOrgMembers(ctx context.Context, orgRef string) ([]*csapitypes.OrgMemberResponse, *http.Response, error)
func (*Client) GetProject ¶
func (*Client) GetProjectGroup ¶
func (c *Client) GetProjectGroup(ctx context.Context, projectGroupRef string) (*csapitypes.ProjectGroup, *http.Response, error)
func (*Client) GetProjectGroupProjects ¶
func (*Client) GetProjectGroupSecrets ¶
func (*Client) GetProjectGroupSubgroups ¶
func (c *Client) GetProjectGroupSubgroups(ctx context.Context, projectGroupRef string) ([]*csapitypes.ProjectGroup, *http.Response, error)
func (*Client) GetProjectGroupVariables ¶
func (*Client) GetProjectSecrets ¶
func (*Client) GetProjectVariables ¶
func (*Client) GetRemoteSource ¶
func (*Client) GetRemoteSources ¶
func (*Client) GetUserByLinkedAccount ¶
func (*Client) GetUserByLinkedAccountRemoteUserAndSource ¶
func (*Client) GetUserByToken ¶
func (*Client) GetUserOrgs ¶
func (c *Client) GetUserOrgs(ctx context.Context, userRef string) ([]*csapitypes.UserOrgsResponse, *http.Response, error)
func (*Client) RemoveOrgMember ¶
func (*Client) SetHTTPClient ¶
SetHTTPClient replaces default http.Client with user given one.
func (*Client) UpdateProject ¶
func (*Client) UpdateProjectGroup ¶
func (c *Client) UpdateProjectGroup(ctx context.Context, projectGroupRef string, projectGroup *cstypes.ProjectGroup) (*csapitypes.ProjectGroup, *http.Response, error)
func (*Client) UpdateProjectGroupSecret ¶
func (*Client) UpdateProjectGroupVariable ¶
func (*Client) UpdateProjectSecret ¶
func (*Client) UpdateProjectVariable ¶
func (*Client) UpdateRemoteSource ¶
func (*Client) UpdateUser ¶
func (*Client) UpdateUserLA ¶
func (c *Client) UpdateUserLA(ctx context.Context, userRef, laID string, req *csapitypes.UpdateUserLARequest) (*cstypes.LinkedAccount, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.