oraclehelper

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	Username  string
	Password  string
	DbHost    string
	DbPort    string
	DbService string
}

Cfg bla bla

type Client

type Client struct {
	DBClient         *sql.DB
	DBVersion        *version.Version
	ParameterService *parameterService
	ProfileService   *profileService
	UserService      *userService
	RoleService      *roleService
	GrantService     *grantService
}

Client fkfkkf

func NewClient

func NewClient(cfg Cfg) *Client

NewClient fkfkf

type GrantObjectPrivs

type GrantObjectPrivs struct {
	Grantee    string
	Owner      string
	ObjectName string
	Privileges []string
}

GrantObjectPrivs ...

type GrantRolePrivs

type GrantRolePrivs struct {
	Grantee        string
	GrantedRole    string
	AdminOption    string
	DelegateOption string
	DefaultRole    string
	Common         string
	Inherited      string
}

GrantRolePrivs ...

type GrantSysPrivs

type GrantSysPrivs struct {
	Grantee     string
	Privilege   string
	AdminOption string
	Common      string
	Inherited   string
}

GrantSysPrivs ..

type GrantTable

type GrantTable struct {
	Grantee   string
	Owner     string
	TableName string
	Grantor   string
	Privilege string
	Grantable string
	Hierarchy string
	Common    string
	Type      string
	Inherited string
}

GrantTable ...

type ResourceGrantObjectPrivilege

type ResourceGrantObjectPrivilege struct {
	Grantee    string
	Privilege  []string
	Owner      string
	ObjectName string
}

ResourceGrantObjectPrivilege ...

type ResourceGrantRolePrivilege

type ResourceGrantRolePrivilege struct {
	Grantee string
	Role    string
}

ResourceGrantRolePrivilege ..

type ResourceGrantSystemPrivilege

type ResourceGrantSystemPrivilege struct {
	Grantee   string
	Privilege string
}

ResourceGrantSystemPrivilege ..

type ResourceParameter

type ResourceParameter struct {
	Name    string
	Value   string
	Comment string
	Scope   string
}

ResourceParameter ..

type ResourceProfile

type ResourceProfile struct {
	Profile      string
	ResourceName string
	Limit        string
}

ResourceProfile ...

type ResourceRole

type ResourceRole struct {
	Role string
}

ResourceRole ....

type ResourceUser

type ResourceUser struct {
	Username            string
	Password            string
	DefaultTablespace   string
	TemporaryTablespace string
	Profile             string
}

ResourceUser ..

type Role

type Role struct {
	Role               string
	PasswordRequired   string
	AuthenticationType string
	Common             string
	OracleMaintained   string
}

Role ..

type User

type User struct {
	Username            string
	Password            string
	DefaultTablespace   string
	TemporaryTablespace string
	Profile             string
}

User ..

Jump to

Keyboard shortcuts

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